pynrc.simul.dms.populate_group_table¶
- pynrc.simul.dms.populate_group_table(starttime, grouptime, ramptime, numint, numgroup, ny, nx)[source]¶
Create some reasonable values to fill the GROUP extension table. These will not be completely correct because access to other ssb scripts and more importantly, databases, is necessary. But they should be close.
- Parameters
starttime (astropy.time.Time) – Starting time of exposure
grouptime (float) – Exposure time of a single group (seconds)
ramptime (float) – Exposure time of the entire exposure (seconds)
numint (int) – Number of integrations in data
numgroup (int) – Number of groups per integration
ny (int) – Number of pixels in the y dimension
nx (int) – Number of pixels in the x dimension
- Returns
grouptable (numpy.ndarray) – Group extension data for all groups in the exposure