nicer.values

Constants used throughout NICERsoft: time epochs, energy conversions, standard energy bands, EVENT_FLAGS bits and detector IDs.

Module Attributes

MET0

Epoch of NICER Mission Elapsed Time (MET), which counts seconds since 2014-01-01 UTC.

GPS0

Epoch of GPS time, which counts seconds since 1980-01-06 UTC.

PI_TO_KEV

Multiply a PI channel by this to get energy in keV (PI is in units of 10 eV).

KEV_TO_PI

Multiply an energy in keV by this to get the PI channel.

SOFT_EMIN

Lower edge (keV) of the soft band used in the RPP catalog analysis.

SOFT_EMAX

Upper edge (keV) of the soft band.

HARD_EMIN

Lower edge (keV) of the hard band used in the RPP catalog analysis.

HARD_EMAX

Upper edge (keV) of the hard band.

FLAG_FIRST_MPU

Index of the "first MPU" bit in the EVENT_FLAGS column.

FLAG_SLOW

Index of the bit set when the slow chain triggered.

FLAG_FAST

Index of the bit set when the fast chain triggered.

FLAG_SWTRIG

Index of the software (forced) trigger bit.

FLAG_OVERSHOOT

Index of the overshoot bit.

FLAG_UNDERSHOOT

Index of the undershoot bit.

DEAD_DETS

IDs of the 4 detectors that were dead at launch.

IDS

The 56 DET_ID values (MPU number times 10 plus detector number, for MPUs 0-6).

datadir

Path to the NICERsoft data directory.

nicer.values.MET0 = <Time object: scale='utc' format='isot' value=2014-01-01T00:00:00.000>

Epoch of NICER Mission Elapsed Time (MET), which counts seconds since 2014-01-01 UTC.

nicer.values.GPS0 = <Time object: scale='utc' format='isot' value=1980-01-06T00:00:00.000>

Epoch of GPS time, which counts seconds since 1980-01-06 UTC.

nicer.values.PI_TO_KEV = 0.01

Multiply a PI channel by this to get energy in keV (PI is in units of 10 eV).

nicer.values.KEV_TO_PI = 100.0

Multiply an energy in keV by this to get the PI channel.

nicer.values.SOFT_EMIN = 0.4

Lower edge (keV) of the soft band used in the RPP catalog analysis.

nicer.values.SOFT_EMAX = 2.0

Upper edge (keV) of the soft band.

nicer.values.HARD_EMIN = 2.0

Lower edge (keV) of the hard band used in the RPP catalog analysis.

nicer.values.HARD_EMAX = 10.0

Upper edge (keV) of the hard band.

nicer.values.FLAG_FIRST_MPU = 2

Index of the “first MPU” bit in the EVENT_FLAGS column.

nicer.values.FLAG_SLOW = 3

Index of the bit set when the slow chain triggered.

nicer.values.FLAG_FAST = 4

Index of the bit set when the fast chain triggered.

nicer.values.FLAG_SWTRIG = 5

Index of the software (forced) trigger bit.

nicer.values.FLAG_OVERSHOOT = 6

Index of the overshoot bit.

nicer.values.FLAG_UNDERSHOOT = 7

Index of the undershoot bit.

nicer.values.DEAD_DETS = {11, 20, 22, 60}

IDs of the 4 detectors that were dead at launch.

nicer.values.IDS = array([ 0,  1,  2,  3,  4,  5,  6,  7, 10, 11, 12, 13, 14, 15, 16, 17, 20,        21, 22, 23, 24, 25, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 40, 41,        42, 43, 44, 45, 46, 47, 50, 51, 52, 53, 54, 55, 56, 57, 60, 61, 62,        63, 64, 65, 66, 67])

The 56 DET_ID values (MPU number times 10 plus detector number, for MPUs 0-6).

nicer.values.datadir = '/home/runner/work/NICERsoft/NICERsoft/nicer/../data'

Path to the NICERsoft data directory.