Background and housekeeping plots

Scripts that plot background and housekeeping data, often on maps of the ISS position. The map scripts need cartopy.

makebkgtab.py

Construct BKG table from a pipe directory

usage: makebkgtab.py [-h] [--plot] pipedirs [pipedirs ...]

Positional Arguments

pipedirs

Input _pipe directory process (should be a blank field BKG observation)

Named Arguments

--plot

Plot

Default: False

plotbkgmap.py

Plot background info on a map

usage: plotbkgmap.py [-h] [--column COLUMN] bkffiles [bkffiles ...]

Positional Arguments

bkffiles

Name of bkf files to process

Named Arguments

--column

Which bkf column to plot

Default: 'EV_OVERSHOOT'

plothkmap.py

Plot HKP data on map

usage: plothkmap.py [-h] [--mcc MCC] [--sps SPS] mpuhkfiles [mpuhkfiles ...]

Positional Arguments

mpuhkfiles

Input file names (should end in mpu?.hk)

Named Arguments

--mcc

Specify MCC file to use for positions

--sps

Specify SPS file (_apid0260.hk) to use for positions

plothkmap_multi.py

Plot HKP data on map

usage: plothkmap_multi.py [-h] [--under] [--mc] obsdirs [obsdirs ...]

Positional Arguments

obsdirs

Input directories

Named Arguments

--under

Plot undershoot instead

Default: False

--mc

Plot MCILWAIN_L instead

Default: False

quickmap.py

Plot points on a map, filtering by tot.gti

usage: quickmap.py [-h] bkffiles [bkffiles ...]

Positional Arguments

bkffiles

Name of bkf (or mkf) files to process

plot_expo.py

Plot per-detector exposure from an .evt or mkf file

usage: plot_expo.py [-h] infile

Positional Arguments

infile

Input file to process