For the TRN (PH) data, the energy channels (min_channel and max_channel) should be specified. The WAM energy channels range from 0 to 54, and are compressed from the original flash ADC channel (0 to 63 plus one overflow bit).
The approximate energy channels are calculated by
Energy (keV) = ADC Channel * 511/15
Note that this equation depends on the gain of the detector, which varies with time and operation.
You should also make deadtime correction for the PH light curves with the dt_cor option (dt_cor=yes).
For example, if you want to choose the full WAM energy band,
you should set the min_channel=2 and max_channel=54 as follows.
The channel 0 and 1 (50 keV) can be selected, but please note
that they are affected by the low energy threshold
and always provide noisy light curves.
hxdmkwamlc input_name=ae903005010hxd_1_wam_uf.evt.gz \ outroot=ae903005010hxd_1 \ leapfile=CALDB min_channel=2 max_channel=54 dt_cor=yes