acdc.superdark.cos_fuv_superdark.Superdark
- class Superdark(hv, segment, mjdstarts, mjdends, dayint=100, bin_x=1, bin_y=1, bin_pha=1, phastart=1, phaend=31, pha_bins=None, gsagtab=None, bpixtab=None, region='inner', outfile=None, outdir='.', xylimits=None, overwrite=False, sdqflags=8346)[source]
Bases:
objectTo keep things consistent, start and stop range are defined the same as within python- start is inclusive but stop is EXCLUSIVE. E.g. using a PHA range of 1 to 31 means you will get PHA=1 up to PHA=30, but not PHA=31.
Methods
Bin one or more corrtag event lists into a 2D image.
bin_superdarkcreate_superdarkfix_gsagfrom_asdfget_binning_parsget_bpix_regionsget_hotspotsget_pha_binsget_reffileget_xy_limitsplot_superdarksscreen_countswrite_cube_fitswrite_fitswrite_superdark- bin_corrtags(corrtag_list, phastart, phaend, xtype='XCORR', ytype='YCORR', sdqflags=0)[source]
Bin one or more corrtag event lists into a 2D image.
Modifed from /user/jotaylor/git/jotools/utils.py
- Parameters:
corrtag_list (str) – list of datasets to combine into an image
xtype (str, optional) – X-coordinate type
ytype (str, optional) – Y-coordinate type
- Returns:
image (np.ndarray) – 2D image of the corrtag