SpectralLineDataReduction Salas 2.16.22
SpectralLineDataReduction Salas 2.16.22
data reduction
Pedro Salas
GBO postdoc
we are after
Tsou (ν)
we are after
Tsou (ν)
[cal] [cal]
[cal] Pon −Poff
Tsou + ΔTsys = Tsys,off [cal]
Poff
[cal] [cal]
[cal] Pon −Poff
Tsou + ΔTsys = Tsys,off [cal]
Poff
[cal]
we also need to know Tsys,off
−1
Tsys,off = Tcal [ Poff − 1]
cal
Poff
−1
Tsou + ΔTsys = Tcal [ Poff − 1]
cal
Poff Pon −Poff
Poff
1 # In AstrID:
2 off = Offset("AzEl", -1.0, 0.0, cosv=True)
3 OnOff( source, off, scanDuration, beamName )
Position switching
The Off region should not have emission/absorption (the Off
region should be more than a beam away from your source).
The On-Off cycle should be faster than fluctuations in the
telescope's gain (for narrow features ~few minutes <10 GHz,
faster above).
Useful for:
Observations of broad (>100 km s−1 ) spectral lines.
Observations of sources with crowded spectrum.
Drawbacks:
Lost time slewing.
Differences in Pon and Poff produce residual baselines.
Frequency switching
The LO switches the frequency generating signal/reference pairs.
Frequency switching
The LO switches the frequency generating signal/reference pairs.
Frequency switching
The Off "region" should not have emission/absorption.
Be aware of the RFI environment (you do not want to
switch to a region with RFI).
Useful for:
Observations of narrow (≤10 km s−1 ) spectral lines.
Drawbacks:
Need to know source velocity a priori.
For larger Δν , larger residual baseline.
No continuum measurements.
What is Tcal ?
Is the equivalent temperature of a noise source injected to the signal path.
A note on Tcal
By default the metadata includes a scalar value for Tcal .
However,
It is a scalar (good approximation for some receivers).
You don't know when it was measured (the temperature
of the noise diodes drifts).
Goddy+2020
O'Neil 2002
GBTGRIDDER
Observatory supported gridding software.
Documentation:
https://safe.nrao.edu/wiki/bin/view/GB/Gbtpipeline/PipelineRelease
Source code:
https://gbt-pipeline.readthedocs.io/en/latest/#
GBT pipeline
Some options:
-i # Input SDFITS.
-m # Mapping scans.
--refscan # Scans to use as reference.
-w # Spectral window to process.
-c # Channels to grid.
--beam-scaling # Multiply Tcal by this value.
--imaging-off # If you do not want to grid.
Example:
gbtpipeline -i my.sdfits.raw.vegas -m 14:24 --refscan 13,26
Map scans: 14 to 24, reference scans 13 and 26
GBT pipeline: example 1
1 gbtpipeline -i "/home/scratch/dfrayer/DATAdemo/TGBT17A_506_11.raw.vegas" \
2 -m "14:26" --refscan 27 -w 0
Questions?
(Tamb −Tcold )
G= (Pamb −Pcold )
Tsys = GPoff
Pon −Poff
Ta = Tsys Poff
Tcal ≈ Tamb
GBTIDL data reduction scripts: /home/astro-util/projects/Argus/PRO
Frayer 2019, GBT memo #302
Temperature scales
Ta : Antenna temperature.
Ta′ =Ta eτ0 A : Antenna temperature corrected for atmosphere.
′
Ta∗ = Tηal : Forward beam brightness temperature.
Ta′
Tmb = ηmb : Main beam antenna temperature.
Note: even with a well documented definition there are multiple flavors of
SDFITS, e.g., Parkes vs GBT.
Community developed
data reduction tools
GAS: KFPA ammonia survey (https://gas.readthedocs.io/en/latest/)
DEGAS: ARGUS survey (https://github.com/GBTSpectroscopy/degas)
TMBIDL: general use (https://github.com/tvwenger/tmbidl)
groundhog: general use (https://github.com/astrofle/groundhog)
SDgridder: gridder (https://github.com/tvwenger/sdgridder)
HCGrid: gridder (https://github.com/HWang-Summit/HCGrid)
sdpy: ??? (https://github.com/keflavich/sdpy)
"It takes a community to develop robust data reduction tools" - ancient proverb
Questions?