Remove sky noise and constant offsets from SCUBA jiggle data REMSKY
After the calculation, the mean value removed from each jiggle can be added back onto the data – this should protect against removing flux from MAP data.
If a SKY NDF is found in the REDS extension, it is assumed that the sky variation has already been determined (eg by calcsky) and this sky signature is removed. The ’ADD’ parameter is ignored in this case.
Code | Description | Example |
nn | A number | 5 or 19 |
id | Bolometer id | h7 or c14 |
rn | Ring number | r1 (for the first ring) |
r5 (for the outer ring of the SHORT array) | ||
r-1 (for the outer ring) | ||
r-2 (one ring in from outer ring) | ||
all | All bolometers | all (select the entire array) |
Each value must be comma separated but can be preceded by a minus sign to remove the bolometer(s) from the list. The definitions of ring number and ‘all’ are dependent on the selected sub-instrument.
Here are some example values for BOLOMETERS:
[17,18,19,20] | Bolometers 17, 18, 19 and 20 |
[h6,h7,h8,h9] | Bolometers H6, H7, H8, H9 |
[all] | Whole array |
[r0] | Ring zero (central pixel) |
[r0,-19] | No bolometers (bol 19 of LONG is R0/H7) |
[h7,r1] | inner ring and H7 |
[r1,-h8] | inner ring without H8 |
[r1,-18] | inner ring without bolometer 18 |
[all,-r1,-h7] | all pixels except the inner ring/H7 |
[all,-r3,g1] | all pixels except ring 3 but with |
G1 (which happens to be in r3) | |
[all,-r1,-r2,-r3,-r4,-r5] | Selects the central pixel |
[all,-r-1] | Selects all except outer ring |
Note that the bolometer sum is calculated sequentially so that [all,-all,h7] would leave you with bolometer H7.
IN = NDF (Read)
Median – the median value for all the sky bolometers is taken from each bolometer signal.
Mean – the mean of the sky bolometers is used as the average. This mean value is iterative – i.e. The mean and standard deviation are calculated, any points greater than the given distance from the mean are removed and the mean and standard deviation are calculated. This process is repeated until no bolometers are dropped from the mean.
’
[g1,g2,g3,g4,g5]’
mode=median
Source rotation is not accounted for so use only those bolometers that always observe sky. This can be checked by using scuover to overlay the bolometer positions on a NAsmyth regridded image (since NA shows the signal measured by each bolometer throughout the observation without source rotation).
For weak sources (ie sources that are not obvious in a single integration) it is probably sufficient to choose BOLOMETERS=[all] and MODE=median.