general/science/
convert_ph_units.pro
Routines
top source convert_ph_units
convert_ph_units, data, units, deadtime=deadtime, scale=scale
NAME: convert_ph_units PURPOSE: Converts the units of the data array of ph data structures. CALLING SEQUENCE: convert_ph_units,data,units INPUTS: data: a ph data structure returned by "get_ph1.pro" or "get_ph2.pro" data.data is rescaled in the requested units, and data.units is set to the name of the new units units: a string. One of: 'COUNTS','RATE','EFLUX','FLUX','DF' KEYWORD PARAMETERS: DEADTIME: (double) specifies a deadtime: the interval during which a channel plate detector is turned off to record an event. data.deadtime defaults to 1e-6 (and has precedence over deadtime) COMMON BLOCKS: get_ph_com: contains one element: deadtime LAST MODIFICATION: @(#)convert_ph_units.pro 1.1 97/04/21 CREATED BY: Frank Marcoline. Patterened after other convert_*_units.pro procedures.
Parameters
- data
- units
Keywords
- deadtime
- scale
File attributes
Modification date: | Thu Feb 13 16:43:40 2014 |
Lines: | 43 |