1 / 15

The SPIRE Destriper ( a short overview)

The SPIRE Destriper ( a short overview). Bernhard Schulz Lijun Zhang 17 Jul 2012. Introductory Notes. This presentation reflects the status of the following configurations: HIPE 8 (build 3469) used together with SPIA 1.8. and spire_cal_8_1

bedros
Download Presentation

The SPIRE Destriper ( a short overview)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The SPIRE Destriper(a short overview) Bernhard Schulz Lijun Zhang 17 Jul 2012

  2. Introductory Notes • This presentation reflects the status of the following configurations: • HIPE 8 (build 3469) used together with SPIA 1.8. and spire_cal_8_1 • HIPE 9 (build 2973) with SPIA 1.8 and spire_cal_9_1. • HIPE 9 (build 2973) with SPIA 1.9 and spire_cal_9_1. • At present HIPE 9 and SPIA 1.9 are not released yet

  3. What does it do and why? Signal Offsets A Mathematical Problem The scans of different bolometers across the sky typically overlap in some positions. Each readout in a signal timeline S(t) is associated with a specific position on the sky. Positions in the sky where timelines of different detectors and scan directions cross, constrain the solution for the offsets sufficiently. • Each SPIRE bolometer is at a different arbitrary offset level • Dark sky measurements were used as a reference during signal linearization and flux calibration, but… • Thermal drifts of telescope and instrument will still create offsets that vary with time and that are typically larger than astronomical signals and can not be cast into a static calibration table.

  4. Overlaps Constrain Offsets Raw Map Destriped Map Flux Scans Overlaps Relative Offsets Removed Sky Coordinate 2 Sky Coordinate 2 Overall Offset Sky Coordinate 1 Sky Coordinate 1

  5. Basic Algorithm • Make first map. • Optionally start with median offsets • Re-sample readouts within map. • Compare each re-sampled signal timeline with the corresponding original timeline. • For each timeline: Fit offset function to difference. • simplest case is zero order polynomial, i.e. an offset (default) • Subtract fitted offset function from original timeline and make another map. • Calculate c2 and continue with re-sampling step while difference between consecutive c2s is above threshold. • These iterations actually converge by themselves.

  6. Re-Sampling and Offset-Function Scans projected on sky Scans as signal timeline Det 2 Det 4 Sky bins of naïve map Det 3 Det 1 Det 1 Sky bins Det 2 Original S(t) Det 3 Signal Det 4 Re-sampled M(t) Offset function (fit to difference) F(t) polynomial degree n polynomial degree 0 Time Readouts

  7. Iterative Baseline Remover (“Destriper”) Flux Fl,d(t) time Flux RA Preliminary Map DEC Sl,d(t) time RA DEC 2nd Level Deglitcher Fl,d(t) Sl,d(t) Exclude iteratively all readouts Sl,d(t) with ABS( Ml,d(t) –Sl,d(t) +Fl,d(t)) > s * k, where s is the standard deviation of all readouts within the respective sky bin Flux Sl,d(t) – Fl,d(t,ai) time RA DEC Interpolate S_map from preliminary map for all positions of the timeline. Flux Flux Sl,d(t) – Fl,d(t,ai) Ml,d(t) time time RA Ml,d(t) RA DEC DEC Fit Function (user choice is grade n of polynomial, i=0..n ): Fl,d(t,ai) = a0+a1*t+a2*t2+… Initial offset function Fl,d(t) is polynomial with a0 set to median of Sl,d(t) all other parameters are zero. • One for each detector (d) • One for each building block (l) or one for all building blocks (user choice). In the latter case the index (l) disappears. (t) index for time (d) index for detector (l) index for each building block (o) index for observation if level 1 products belong to more than one Take all difference timelines Sl,d(t) – Fl,d(t) and make map Up. Up Ml,d(t) Determine c2d,l,o= sqrt( sumt( Ml,d,o(t) – Sl,d,o(t) + Fl,d,o(t,ai) )2) for each scan and detector. Mark scan converged if c2new-c2previous< threshold Determine new set of a0, a1, a2, … by fitting a new offset function Fl,d(t,ai) to the difference Sl,d(t) – Ml,d(t). No All scans converged? ? Flux Yes (Ml,d,o(t) – Sl,d,o(t) +Fl,d,o(t,ai))2 time RA End DEC

  8. Destriper Features Input • Polynomial offset function selection • Iteration limit by number and c2 threshold • Choice between per-scan and full-observation timelines • Option to start with median offsets • Level 2 deglitcher with repeat control (but implementation problems) • Bright source exclusion • Sky bin size control • Weighted fitting (under development) HIPE 9 additions • TOD output control • Start parameter feedback from diagnostic product • Temporary pool control • Default: bright source exclusion on • Default: Start with median offsets • Thread control • Level 2 deglitcher: working correctly now • Level 2 deglitcher: New two threshold algorithm • Level 2 deglitcher: Iteration control within one destriper step Output • Offset subtracted Level 1 • Reconstructed map • Diagnostic product • TOD • Difference timelines

  9. Destriper Default GUI (HIPE 8) Level 1 context * Array to work on * Pixel size TOD input * mandatory parameters Dc2 threshold Destriper max. repeat Offset function size Polynomial degree Median start parameters Weight fitting switch ProBright source switch • L2 deglitcher repeat • After how many destriper iterations to run deglitcher Output is 5 element array

  10. Destriper Default GUI (HIPE 9) Level 1 context * Array to work on * Pixel size TOD input (optional) * mandatory parameters Dc2 threshold Destriper max. repeat Offset function size Polynomial degree Start parameters Median start parameters Weight fitting switch • L2 deglitcher algorithm • L2 deglitcher iterate max. • how often to iterate in one deglitcher run • L2 deglitcher repeat • After how many destriper iterations to run deglitcher Number of threads Provide TOD switch Bright source switch Temporary store switch Output is 5 element array

  11. Destriper in SPIA 1.8 (HIPE 8) • Integration as alternative to baseline remover, although baseline remover can be run before destriper. • Map maker can be run again on destriped Level 1 products or map can be directly taken from destriper. • Optionally Level 1 can be updated to offset subtracted timelines • All three arrays will run sequentially. • Pixel sizes can be set independently for destriper. • Destriper attaches diagnostic products to Level2 context.

  12. Destriper in SPIA 1.8 (HIPE 9) • Inactive by default. To activate, switch off baselRem and change DestriperOn to active. • For MapMaker either destriper or naïve can be used. • The “destriper” option will use the map produced by the destriper in the last iteration • The latter will produce one more map with the naïve mapper and its possibly different settings (see tab Mapmaking Parameters) after destriping. • All three arrays will run sequentially. • Pixel sizes can be set independently for destriper. • Destriper attaches diagnostic products to Level2 context. • If DestStartParametersis active and diagnostic products are found in previous Level 2, the parameters and flags are used as new start parameters and for scan selection.

  13. Destriper in SPIA 1.9 (HIPE 9) • By default active and using the last destriper map as final map. Optionally other map makers can be used after destriping. • Baseline remover is off by default but can be run before the destriper. • All three arrays will run sequentially. • Pixel sizes can be set independently for destriper. • Destriper attaches diagnostic products to Level2 context. • DestStartParameters is active by default and will use diagnostic products if available in previous Level 2. In this case the parameters and flags are used as new start parameters and for scan selection.

  14. Further Reading • Destriper Homepage • https://nhscsci.ipac.caltech.edu/sc/index.php/Spire/PhotScanMapDestriper • SPIRE Data Reduction Guide • http://herschel.esac.esa.int/hcss-doc-8.0/load/spire_drg/html/spire_drg.html • SPIRE instrument and calibration web pages • http://herschel.esac.esa.int/twiki/bin/view/Public/SpireCalibrationWeb?template=viewprint • SPIA Homepage • https://nhscsci.ipac.caltech.edu/sc/index.php/Spire/SPIA

More Related