Source: cli/idf/lan_idf_info.pro
lan_idf_info
Return various items of information about the lan IDF.
Usage:
lan_idf_info, [channel|head,] <output keys>, <options>
Argument:
channel string input Specify the channel for which
information is required. Needed for
channel properties.
Keywords:
energy float output A named variable to hold the energy
range of the channel [requires
channel or head] For a specific
channel this is a 3 element array with
low, high and "mid-point" for a head
it is just the "mid-points".
geometry float output A named variable to return the
geometry factor for the channel [needs
channel or head]
background float output A named variable to return the
background rates for the channel
[needs channel or head]
pointing float output A named variable to return the
pointing information for the channel
[needs channel or head]
high_energy float output A named variable to return the high
energies for a head [needs head]
low_energy float output A named variable to return the
low energies for a head [needs head]
sectors int output The number of sectors in a head [needs
head]
n_channels int output the number of channels in a head
[needs head]
jd_bg_change double output The julian day of the background
switch
doy_bg_change float output The date of the background switch
have_background int output Whether the IDF has background
information.
version float output The version of the IDF file.
kev input If set, then return the energies in
keV rather than MeV.
hiscale input If set, then return information from
the HISCALE IDF.
epam input If set, then return information from
the EPAM IDF.
Restrictions:
You can't get channel and head properties in the same call.
You must give exactly one of the HISCALE or EPAM keys.
History:
Original: 30/1/00; SJT