pynrc.nrc_utils.offset_bar

pynrc.nrc_utils.offset_bar(filt, mask)[source]

Bar mask offset locations

Get the appropriate offset in the x-position to place a source on a bar mask. Each bar is 20” long with edges and centers corresponding to:

SWB: [1.03, 2.10, 3.10] (um) => [-10, 0, +10] (asec)
LWB: [2.30, 4.60, 6.90] (um) => [+10, 0, -10] (asec)