Argus N2 H+(1-0) Observations#

Warning

The following tutorial is currently under construction. You are welcome to read it, but please keep in mind that formatting and/or information will be changed imminently. Thank you!

This tutorial walks you through the process of observing N2H+ with Argus on the GBT in frequency-switching mode. In this tutorial we will walk through observational setup, observing strategy, and data reduction resulting in a dataset that is ready for scientific analysis.

What you need and should already know

  • You need a GBO computing account.

  • You are familiar with the Linux command line.

  • You know how to start AstrID and GBTIDL.

  • You know how to look at a fits datacube using e.g. ds9.

You can find general instructions for using AstrID, as well as starting CLEO, contacting the operator, etc. here.

Data

The data we will be working with in this tutorial was obtained during the Fall 2022 GBT Observer Training Workshop.

Observing Script Preparation#

Argus Startup Script#

Before we can start any observations using Argus, we have to check the instrument status, turn the instrument on if it is currently off and re-configure Argus for the default 90 GHz parameters. This is done using a standard argus_startup script.

 1# Argus Startup
 2# GBTdocs, 2026;  n2hp fsw tutorial
 3
 4ResetConfig()
 5
 6
 7# Start up the instrument by calling the 'presets'  command
 8# this will turn on LNA/CIF if necessary
 9SetValues("RcvrArray75_115" , {"presets": "on"})
10
11print "CIF Power: ", GetValue("RcvrArray75_115", "cif_power")
12print "LNA Power: ", GetValue("RcvrArray75_115", "lna_power")
13

Calibration source selection#

For most Argus observations you will need to choose a primary calibrator as well as a secondary calibrator.

At the observing frequency range of Argus (74 - 115 GHz), there are not many calibrators available that are strong enough for detection with Argus and the DCR. We recommend to pick the brightest available calibrator during your observations as your primary calibrator. You will run your AutoOOF on that calibrator as well as a number of peak and focus scans. We are providing more details on this in the next subsections.

If your primary calibrator is nearby your science target, you are very lucky!

In most cases, you will need to pick a secondary calibrator that is closer to your science target. This calibrator might not be strong enough to be observed with Argus and you may have to switch to a lower-frequency receiver (e.g. X-Band, KFPA, Ka-Band, Q-Band) to perform regular pointing and focus calibration measurements throughout your observations.

In this tutorial we used the primary calibrator 2253+1608

AutoOOF#

Prior to running science observations, we need to run the AutoOOF() command to optimize the surface, unless the exact beam shape is not important for your science goals.

1Catalog('/home/astro-util/astridcats/wband_pointing.cat')
2
3source = '2253+1608'
4AutoOOF(source)

The same AstrID command AutoOOF(source) can be used for any of the receivers that use AutoOOF, i.e. Ka-Band, Q-Band, W-Band, Argus, and MUSTANG-2. The software will automatically adopt the appropriate defaults for each receiver. For your Argus observations, you can choose any of those receivers except MUSTANG-2, which requires to complete dedicated biasing and tuning routine prior to it being usable.

Please note, not all receivers are installed at all times. So when planning your observations it is worth checking in with your project friend to learn which receiver options for AutoOOF are available. The operator will also always be able to tell you which of the AutoOOF capable receivers are currently installed.

Pointing and Focus#

We strongly recommend to run a peak-focus-peak sequence on your primary calibrator using Argus.

 1source = '2253+1608'                    
 2freq_argus = 93173.0                    
 3
 4#Break("Ask the operator to switch to Argus. Click yes when Argus is in place.")
 5
 6SetValues("ScanCoordinator", {"receiver": "RcvrArray75_115"})
 7SetValues("LO1", {"restFrequency_A": freq_argus})
 8
 9AutoPeak(source, frequency=freq_argus, elAzOrder=True)
10Break("Check the pointing solution")
11Focus(source)
12Break("Check the focus solution")
13AutoPeak(source, frequency=freq_argus, elAzOrder=True)

This allows you to verify the pointing and focus solutions obtained from the AutoOOF and to measure the aperture efficiency.

We recommend using Break() after the first set of peak and focus measurements, respectively. This allows for time to check the pointing and focus solutions and adjust them in the system in case the automatic determination has failed for some reason.

If you are planning to observe your secondary calibrator with a different receiver than Argus, you will need to account for the fact that there is a frequency-dependent focus offset between Argus and all other receivers. To measure this offset, you will need to run an additional peak-focus sequence on your primary calibrator using your pointing receiver.

Focus offset measurement

Information on how to calculate the focus offset between Argus and your pointing receiver is available here. Scripts to run peak and focus measurements with the receivers X, Ka, KFPA or Q on the primary and secondary calibrator are available at the same link.

Science Observations#

Configuration#

Argus uses the standard config-tool software that automatically configures the system based on user input. Comprehensive details on how to configure the GBT is available here.

For the frequency-switched observations of N2H+ presented in this tutorial we used the following configuration:

 1Configure("""
 2receiver      = 'RcvrArray75_115'       # Argus receiver
 3beam          = 'all'                   # use all 16 beams
 4obstype       = 'Spectroscopy'          # observing type
 5backend       = 'VEGAS'                 # use VEGAS backend
 6restfreq      = 93173.704               # rest frequency in MHz, here for N2H+(1-0)
 7bandwidth     = 187.5                   # VEGAS mode 5 has a bandwidth of 187.5 MHz
 8swmode        = 'sp_nocal'              # switching mode
 9swtype        = 'fsw'                   # switching type
10swper         = 1.0                     # switching period in s
11swfreq        = -12.5, 12.5             # switching frequencies in MHz
12tint          = 1.0                     # integration time
13vframe        = 'lsrk'                  # velocity frame
14vdef          = 'Radio'                 # velocity definition
15pol           = 'Linear'                # polarization
16nchan         = 65536                   # number of channels
17sideband      = 'LSB'
18vegas.subband = 1 
19""")
20
  • Argus receiver is RcvrArray75_115.

  • Argus has no noise diode, so for the swmode one can either select tp_nocal for total power observations or sp_nocal for switched-power observations as done here.

    • Since we have selected sp_nocal, we need to select a swmode. Here we want frequency-switched observations so we need to select 'fsw'.

    • We also have to define the switching period (swper) and the switching frequencies (swfreq)

  • VEGAS is setup for VEGAS mode 5, i.e. bandwidth of 187.5 MHz and 65536 channels. This provides a spectral resolution of 2.9 kHz. An overview of the different VEGAS modes is available in Table 16.

  • Since we are observing below 100 GHz, we are using the recommended lower sideband ('LSB').

  • Argus is a single polarization receiver. The only polarization option available is 'Linear'.

Pointed Observations#

 1#source defined from a catalogue
 2
 3ResetConfig()
 4
 5Configure("""
 6receiver        = 'RcvrArray75_115'
 7beam            = 'all'
 8obstype         = 'Spectroscopy'
 9backend         = 'VEGAS'
10restfreq        = 93173.704
11bandwidth       = 187.5
12swmode          = 'sp_nocal'
13swtype          = 'fsw'
14swper           = 1.0
15swfreq          = -12.5, 12.5
16tint            = 1.0
17vframe          = 'lsrk'
18vdef            = 'Radio'
19pol             = 'Linear'
20nchan           = 65536
21sideband        = 'LSB'
22vegas.subband   = 1 
23""")
24
25
26source_catalog = """
27format=spherical
28coordmode=J2000
29HEAD = NAME RA DEC
30DR21 20:39:01.01 +42:22:50.2
31"""
32
33Catalog(source_catalog)         # Only needed for validation purposes in AstrID.
34
35
36Balance()
37
38yigvolt, sampleTime = GetSample("RcvrArray75_115", "YIGData,lo_power")
39print "" 
40print "******************************" 
41print "YIG voltage:   ", yigvolt
42print "Sample time: ", sampleTime
43print "******************************"
44print "" 
45Break("Check YIG LO power (if <0.1 V, then reconfigure)" )
46
47source = "DR21"
48Slew (source)
49
50execfile("/home/astro-util/projects/Argus/OBS/argus_vanecal")
51
52#track single position 
53for i in range(5):
54    Track (source, endOffset=None, scanDuration=60.0, beamName='10')

As an alternative you can replace lines 36-45 with the following one-liner

execfile('/home/astro-util/projects/Argus/OBS/balanceArgusAndCheckYIGpower')

This script will attempt to balance the IF system, check the Argus YIG power and if the YIG power is below a threshold it will re-balance. In total the script will attempt to rebalance Argus twice, if all attempts fail, it will pop-up an alert.

Mapped Observations#

 1
 2#source defined from a catalogue
 3
 4ResetConfig()
 5
 6Configure("""
 7receiver        = 'RcvrArray75_115'
 8beam            = 'all'
 9obstype         = 'Spectroscopy'
10backend         = 'VEGAS'
11restfreq        = 93173.704
12bandwidth       = 187.5
13swmode          = 'sp_nocal'
14swtype          = 'fsw'
15swper           = 0.4
16swfreq          = -12.5, 12.5
17tint            = 0.4
18vframe          = 'lsrk'
19vdef            = 'Radio'
20pol             = 'Linear'
21nchan           = 65536
22sideband        = 'LSB'
23vegas.subband   = 1 
24""")
25
26
27source_catalog = """
28format=spherical
29coordmode=J2000
30HEAD = NAME RA DEC
31DR21   20:39:01.01 +42:22:50.2
32DR21_2 20:39:00.27 +42:23:42.9
33"""
34
35Catalog(source_catalog)         # Only needed for validation purposes in AstrID.
36
37
38Balance()
39
40yigvolt, sampleTime = GetSample("RcvrArray75_115", "YIGData,lo_power")
41print "" 
42print "******************************" 
43print "YIG voltage:   ", yigvolt
44print "Sample time: ", sampleTime
45print "******************************"
46print "" 
47Break("Check YIG LO power (if <0.1 V, then reconfigure)" )
48
49source = "DR21_2"
50Slew (source)
51
52execfile("/home/astro-util/projects/Argus/OBS/argus_vanecal")
53
54#map the region
55RALongMap(source,
56	  Offset("J2000",120./3600., 0.0, cosv=True),
57	  Offset("J2000", 0.0, 120./3600., cosv=True),
58	  Offset("J2000", 0.0, 5.0/3600., cosv=True),
59	  scanDuration=30.0, beamName='C' ,start=1, stop=24)
60
61execfile("/home/astro-util/projects/Argus/OBS/argus_vanecal")

As an alternative you can replace lines 38-47 with the following one-liner

execfile('/home/astro-util/projects/Argus/OBS/balanceArgusAndCheckYIGpower')

This script will attempt to balance the IF system, check the Argus YIG power and if the YIG power is below a threshold it will re-balance. In total the script will attempt to rebalance Argus twice, if all attempts fail, it will pop-up an alert.

Observing#

During the 2022 Fall Training Workshop observing session we were faced with bad weather conditions (normally Argus observations wouldn’t get scheduled in those conditions). We decided to try setting the surface using the Ka-Band receiver and then ran a peak-focus measurement using X-band. We did not measure the focus offset (this was discovered later on) and we did not measure the aperture efficiency with Argus.

Here are some screenshots of what we saw in AstrID’s DataDisplay tab during the observing run.

AutoOOF with Ka-Band#

../_images/Argus_tutorial_observing_oof_z5.png ../_images/Argus_tutorial_observing_oof_z4.png ../_images/Argus_tutorial_observing_oof_z3.png ../_images/Argus_tutorial_observing_oof_rawData.png ../_images/Argus_tutorial_observing_oof_fittedBeamMap.png

Peak and focus with X-Band#

../_images/Argus_tutorial_observing_peak.png ../_images/Argus_tutorial_observing_focus.png

Science observations with Argus#

AstrID (or actually GFM) is not able to handle science Argus observations. For those scans you will always see a message similar to this "Scan XX (Procedure Type, Procedure Name) not handled by any plugin.", where, for example, Procedure Type could be SIMPLE, MAP, etc. and Procedure Name could be TRACK, RALongMap, etc.

This is normal and nothing to worry about. To check that the incoming data looks ok, we will be using GBTIDL.

Quick Data Inspection#

Vanecal#

Note

Please note, this step is described here for completeness only, at this stage of the tutorial, you will not be able to actually perform these quick checks.

To monitor your science data, we recommend to - at the bare minimum - check all vanecal observations. A vanecal is a set of 2 scans, the first called VANE Track followed by SKY Track, for example scan pair 10 and 11 here.

To check your vanecal, copy the following scripts to your home directory (/users/<your-user-name>/gbtidlpro). If the gbtidlpro folder doesn’t exist, create it.

  • vanecal.pro

  • getatmos.pro

During your observing run, you would just open gbtidl in a terminal and then execute the following:

online
vanecal, 10

To execute the vanecal script, you only need to provide it the vane scan, it’ll assume that the sky scan is vane scan + 1.

You would see the following:

 1GBTIDL -> vanecal, 10                                          
 2% Compiled module: VANECAL.
 3Scan:    10 (IF:0 FD:9 PL:0)    Tsys:   1.00
 4% Compiled module: GETATMOS.
 5(zenith) Opacity(93.168089,59795.169) = 0.3929
 6AtmTsys(93.168089,59795.169) = 95.9261
 7Tatm(93.168089,59795.169) = 289.0423
 8fdnum, beam, Tsys*[K]:        0           1       285.09885
 9fdnum, beam, Tsys*[K]:        1           2       226.48593
10fdnum, beam, Tsys*[K]:        2           3       232.80958
11fdnum, beam, Tsys*[K]:        3           4       273.67937
12fdnum, beam, Tsys*[K]:        4           5       228.63467
13fdnum, beam, Tsys*[K]:        5           6       274.72375
14fdnum, beam, Tsys*[K]:        6           7       217.85602
15fdnum, beam, Tsys*[K]:        7           8       238.14182
16fdnum, beam, Tsys*[K]:        8           9       232.05761
17fdnum, beam, Tsys*[K]:        9          10       222.55392
18fdnum, beam, Tsys*[K]:       10          11       221.29446
19fdnum, beam, Tsys*[K]:       11          12       245.67560
20fdnum, beam, Tsys*[K]:       12          13       229.10080
21fdnum, beam, Tsys*[K]:       13          14       221.68882
22fdnum, beam, Tsys*[K]:       14          15       237.94824
23fdnum, beam, Tsys*[K]:       15          16       218.53617
24Tcal, Twarm, tatm:       298.00355       296.84999      289.042
25GBTIDL -> 

Science Observations#

If you take a pointed observation with your science data (Track measurement), you can have a quick look at your data following the instructions further below in this tutorial.

If you take mapped observations, you will want to coadd all integrations from a single (or multiple) scanlines, once they have been obtained. This is to boost signal-to-noise and check for line detection. We provide a more detailed description of how this is done at the end of this tutorial.

Data Calibration#

The observations had been carried out with a very narrow spectral resolution, producing raw data file size of >20 GB. For this tutorial we have spectrally smoothed the raw data to reduce the filesize to 1.2 GB.

Copy data#

The training data for this tutorial is available on our GBO data processing machines

  • as a compressed archive file (for easy copy-paste):

    /home/dataproducts/training_data/Argus_tutorial_n2hp.tar.gz

  • or as the actual folder:

    /home/dataproducts/training_data/Argus_tutorial_n2hp

For the remainder of this tutorial we assume that you have copied and unpacked the compressed tar file in your scratch area:

cp /home/dataproducts/training_data/Argus_tutorial_n2hp.tar.gz /home/scratch/<your-gbo-computing-username>
cd /home/scratch/<your-gbo-computing-username>
tar xf Argus_tutorial_n2hp.tar.gz
cd Argus_tutorial_n2hp
ls

This folder should contain the following files:

  • raw data folder: Argus_DR21_n2hp_smoothed.raw.vegas

  • GBTIDL procedures:
    • argus_fsw_coadd.pro

    • argus_fsw.pro

    • argus_mapfsw.pro

    • getatmos.pro

    • vanecal.pro

Inspect raw data#

As a first step open GBTIDL, load the data and get an overview

filein, 'Argus_DR21_n2hp_smoothed.raw.vegas'
summary

You should see the following:

 1GBTIDL -> filein, 'Argus_DR21_n2hp_smoothed.raw.vegas'
 2GBTIDL -> summary
 3  Scan           Source      Vel    Proc Seq    RestF nIF nInt nFd     Az    El
 4-------------------------------------------------------------------------------
 5    10             VANE      0.0   Track   1   93.174   1   10  16   67.3  77.0
 6    11              SKY      0.0   Track   1   93.174   1   10  16   67.4  77.0
 7    12             DR21      0.0   Track   1   93.174   1   60  16   66.7  77.2
 8    13             DR21      0.0   Track   1   93.174   1   60  16   66.4  77.4
 9    14             DR21      0.0   Track   1   93.174   1   60  16   66.2  77.6
10    35             VANE      0.0   Track   1   93.174   1   25  16   57.5  82.1
11    36              SKY      0.0   Track   1   93.174   1   25  16   57.5  82.1
12    37             DR21      0.0 RALongM   1   93.174   1   75  16   56.0  82.3
13    38             DR21      0.0 RALongM   2   93.174   1   75  16   55.7  82.4
14    39             DR21      0.0 RALongM   3   93.174   1   75  16   55.1  82.5
15    40             DR21      0.0 RALongM   4   93.174   1   75  16   54.7  82.6
16    41             DR21      0.0 RALongM   5   93.174   1   75  16   54.1  82.7
17    42             DR21      0.0 RALongM   6   93.174   1   75  16   53.7  82.8
18    43             DR21      0.0 RALongM   7   93.174   1   75  16   53.0  82.9
19    44             DR21      0.0 RALongM   8   93.174   1   75  16   52.6  83.0
20    45             DR21      0.0 RALongM   9   93.174   1   75  16   51.9  83.2
21    46             DR21      0.0 RALongM  10   93.174   1   75  16   51.4  83.2
22    47             DR21      0.0 RALongM  11   93.174   1   75  16   50.6  83.4
23    48             DR21      0.0 RALongM  12   93.174   1   75  16   50.2  83.4
24    49             DR21      0.0 RALongM  13   93.174   1   75  16   49.3  83.6
25    50             DR21      0.0 RALongM  14   93.174   1   75  16   48.8  83.6
26    51             DR21      0.0 RALongM  15   93.174   1   75  16   47.9  83.8
27    52             DR21      0.0 RALongM  16   93.174   1   75  16   47.4  83.8
28    53             DR21      0.0 RALongM  17   93.174   1   75  16   46.4  84.0
29    54             DR21      0.0 RALongM  18   93.174   1   75  16   45.8  84.0
30    55             DR21      0.0 RALongM  19   93.174   1   75  16   44.8  84.2
31    56             DR21      0.0 RALongM  20   93.174   1   75  16   44.2  84.2
32    57             DR21      0.0 RALongM  21   93.174   1   75  16   43.1  84.3
33    58             DR21      0.0 RALongM  22   93.174   1   75  16   42.4  84.4
34    59             DR21      0.0 RALongM  23   93.174   1   75  16   41.2  84.5
35    60             DR21      0.0 RALongM  24   93.174   1   75  16   40.5  84.6
36    61             VANE      0.0   Track   1   93.174   1   25  16   40.5  84.7
37    62              SKY      0.0   Track   1   93.174   1   25  16   40.5  84.7

Here you can see that we have the following measurements:

  • 3 vanecal (scans 10+11, 35+36, 61+62)

  • 3 track scans (scans 12-14)

  • 24 RALongMaps (scans 37-60; Seq 1-24)

The first vanecal (scans 10+11) is used to calibrate the pointed (track) measurements. The other two vanecals bracket the RALongMap observation. Most Argus calibration procedures use only the first vanecal to calibrate the data. However it is useful to bracket mapping observation to monitor the atmospheric conditions before and after. If for example system temperatures vary significantly between the pre- and post-map vanecal measurement, one could use various weighting techniques to account for that. In this tutorial we will only show the standard procedure and leave it to the user to adjust those scripts. As we will see in the next section, there is only a minimal difference in the present observations between the pre- and the post-map vanecal.

Check all vanecals#

It is a good habit to check the vanecals during the observations and to note the system temperature ranges of the beams in an observing log file. Since we couldn’t do this in the observing section above, we are now going to show you how to do this on any Argus dataset. You will need the procedure called vanecal.pro. The most important input this procedure is taking is the vane scan number. If you have multiple spectral windows, you will also want to specify the ifnum parameter. It defaults to 0, meaning the first spectral window. Since we only have a single spectral window in this training dataset, we don’t need that here.

vanecal, 10

You will see the following output. Please note that this shows the output for all three vane+sky scan pairs obtained in this observation.

GBTIDL -> vanecal, 10
Scan:    10 (IF:0 FD:9 PL:0)    Tsys:   1.00
(zenith) Opacity(93.168089,59795.169) = 0.3929
AtmTsys(93.168089,59795.169) = 95.9261
Tatm(93.168089,59795.169) = 289.0423
fdnum, beam, Tsys*[K]:        0           1       285.09885
fdnum, beam, Tsys*[K]:        1           2       226.48593
fdnum, beam, Tsys*[K]:        2           3       232.80958
fdnum, beam, Tsys*[K]:        3           4       273.67937
fdnum, beam, Tsys*[K]:        4           5       228.63467
fdnum, beam, Tsys*[K]:        5           6       274.72375
fdnum, beam, Tsys*[K]:        6           7       217.85602
fdnum, beam, Tsys*[K]:        7           8       238.14182
fdnum, beam, Tsys*[K]:        8           9       232.05761
fdnum, beam, Tsys*[K]:        9          10       222.55392
fdnum, beam, Tsys*[K]:       10          11       221.29446
fdnum, beam, Tsys*[K]:       11          12       245.67560
fdnum, beam, Tsys*[K]:       12          13       229.10080
fdnum, beam, Tsys*[K]:       13          14       221.68882
fdnum, beam, Tsys*[K]:       14          15       237.94824
fdnum, beam, Tsys*[K]:       15          16       218.53617
Tcal, Twarm, tatm:       298.00355       296.84999      289.042
GBTIDL -> vanecal, 35
Scan:    35 (IF:0 FD:9 PL:0)    Tsys:   1.00
(zenith) Opacity(93.168080,59795.189) = 0.3973
AtmTsys(93.168080,59795.189) = 95.3262
Tatm(93.168080,59795.189) = 288.5006
fdnum, beam, Tsys*[K]:        0           1       288.78719
fdnum, beam, Tsys*[K]:        1           2       229.16524
fdnum, beam, Tsys*[K]:        2           3       235.28959
fdnum, beam, Tsys*[K]:        3           4       276.70912
fdnum, beam, Tsys*[K]:        4           5       231.59214
fdnum, beam, Tsys*[K]:        5           6       275.75921
fdnum, beam, Tsys*[K]:        6           7       219.42320
fdnum, beam, Tsys*[K]:        7           8       240.81813
fdnum, beam, Tsys*[K]:        8           9       235.61771
fdnum, beam, Tsys*[K]:        9          10       226.24732
fdnum, beam, Tsys*[K]:       10          11       224.77892
fdnum, beam, Tsys*[K]:       11          12       249.08931
fdnum, beam, Tsys*[K]:       12          13       234.36098
fdnum, beam, Tsys*[K]:       13          14       224.71696
fdnum, beam, Tsys*[K]:       14          15       240.92477
fdnum, beam, Tsys*[K]:       15          16       222.37462
Tcal, Twarm, tatm:       296.60277       295.74999      288.501
GBTIDL -> vanecal, 61
Scan:    61 (IF:0 FD:9 PL:0)    Tsys:   1.00
(zenith) Opacity(93.168075,59795.201) = 0.3999
AtmTsys(93.168075,59795.201) = 95.3201
Tatm(93.168075,59795.201) = 288.1756
fdnum, beam, Tsys*[K]:        0           1       295.79197
fdnum, beam, Tsys*[K]:        1           2       235.96737
fdnum, beam, Tsys*[K]:        2           3       241.97596
fdnum, beam, Tsys*[K]:        3           4       284.67886
fdnum, beam, Tsys*[K]:        4           5       239.41615
fdnum, beam, Tsys*[K]:        5           6       287.72770
fdnum, beam, Tsys*[K]:        6           7       225.28118
fdnum, beam, Tsys*[K]:        7           8       247.97437
fdnum, beam, Tsys*[K]:        8           9       242.92076
fdnum, beam, Tsys*[K]:        9          10       232.87521
fdnum, beam, Tsys*[K]:       10          11       231.09287
fdnum, beam, Tsys*[K]:       11          12       256.20640
fdnum, beam, Tsys*[K]:       12          13       240.95913
fdnum, beam, Tsys*[K]:       13          14       231.83502
fdnum, beam, Tsys*[K]:       14          15       249.74152
fdnum, beam, Tsys*[K]:       15          16       228.64926
Tcal, Twarm, tatm:       296.61934       295.64999      288.176
GBTIDL -> 

The system temperatures recorded for those observations are in the range of (217 - 285 K), (2019 - 288 K), and (225 - 295 K), respectively. They are increasing, which is due to the source setting, i.e. the elevation is decreasing meaning the telescope is observing through more atmosphere. Overall the system temperature is rather high for Argus observations at this frequency. As mentioned above the weather conditions during the Observer Training Workshop were not favorable for high-frequency observations. This is reflected in the opacity, \(\tau\) = 0.4, which is high for this frequency. Typical system temperatures for Argus at this frequency are around 100 - 120 K, but have been observed in the past below 100 K in exceptionally good conditions.

Calibrate a single track scan#

In the observing run, we have obtained a number of single-pointing track scans. The tracking beam was beam number 10. In GBTIDL this corresponds to feed number 9, fdnum=9 (beam numbers in AstrID start at 1, but IDL is 0-indexed, so fdnum starts at 0).

In the sample dataset, we’ve provided 3 of those pointed track measurements (scans 12-14).

It is worth noting, that Argus has not internal rotator, so one can only perform pointed observations with a single beam. All other beams (if configured to collect data), effectively perform drift scans. In these observations, Argus was configured to obtain data with all 16 beams. As mentioned before, beam 10 was the tracking beam.

To process each single Track scan, we utilize the procedure argus_fsw.pro. This procedure calibrates the spectrum to the TA* temperature scale. An in-depth explanation of the temperature scales is available here.

argus_fsw, 12, 10, fdnum=9
../_images/Argus_tutorial_dataProcessing_scan12_track_fsw.png

Here you can see a sinusoidal baseline. The spectral line of interest (N 2H +) is visible at 93.173 GHz.

argus_fsw, 13, 10, fdnum=9
../_images/Argus_tutorial_dataProcessing_scan13_track_fsw.png
argus_fsw, 14, 10, fdnum=9
../_images/Argus_tutorial_dataProcessing_scan14_track_fsw.png

Since we have three single-pointing observations, we can improve the signal-to-noise ratio of the spectrum by averaging all three track measurements:

sclear
argus_fsw, 12, 10, fdnum=9
accum
argus_fsw, 13, 10, fdnum=9
accum
argus_fsw, 14, 10, fdnum=9
accum
ave
../_images/Argus_tutorial_dataProcessing_track_fsw_avg.png

In this averaged spectrum, we can also better identify the characteristic absorption dips for frequency-switched observations, with the intensity of the absorption dips being half the intensity of the emission peak. Please note that you will see multiple emission peaks (and hence absorption dip per grouping), this is due to the hyperfine splitting of the N2H+(1-0) transition.

../_images/Argus_tutorial_dataProcessing_track_fsw_avg_marked.png

Now we will look into correcting the baseline. To do this, we need to define the line-free channels. We will use the idl:setregion() procedure for that:

setregion

A cursor will appear and we can click in our spectrum. In this tutorial we have opted to specify four line-free regions. Use left-click to mark the start and end of each region and then right-click to exit the interactive mode.

../_images/Argus_tutorial_dataProcessing_track_fsw_avg_baselineRegions.png

We can get detailed information on those regions using the following commands:

GBTIDL -> nreg = !g.nregion  
GBTIDL -> print, nreg
           4
GBTIDL -> regs = !g.regions
GBTIDL -> print, regs[0:2*nreg-1]
         622        1668        1820        2218        2389        2788        2936        4009

With this information, you can set also set your regions as follows:

!g.nregion=4
!g.regions=[622, 1668, 1820, 2218, 2389, 2788, 2936, 4009]
showregion

We will use the bshape command to look at various polynomial baselines.

bshape, nfit=7, color=!green
nshape, nfit=14, color=!white
../_images/Argus_tutorial_dataProcessing_track_fsw_avg_baselineRegions_baselineExamples.png

We will apply the 14th order polynomial here.

baseline, nfit=14
../_images/Argus_tutorial_dataProcessing_track_fsw_avg_baselineFitted.png

You can zoom in either by clicking the middle mouse button and dragging a rectangle across the spectrum indicating the desired zoom-in window. You finalize the selection by clicking the middle-mouse button again. You can also use the GBTIDL command line:

sety, -0.75, 1.0
../_images/Argus_tutorial_dataProcessing_track_fsw_avg_baselineFitted_zoomed.png

Calibrate mapped observations#

In the observing run, we have obtained a small map consisting of 24 RALongMap scanlines, i.e. we the telescope was scanning in the Right Ascension direction, while stepping in Declination between scanlines. The tracking beam was to beamName = 'C', i.e. the center of the array which is in the middle of beams 6, 7, 10, and 11, so effectively all beams have been performing drift scans.

To process the map scans (scans 37-60). The map scans were bracketed with vane calibration scans (scans 35+36 and 61+62). We have already verified, that the system temperatures haven’t changed significantly between scan pair 35+36 and 61+62, indicating that the atmospheric conditions were stable during those measurements.

To calibrate the map scans, we will utilize the procedure argus_mapfsw.pro. This procedure calibrates the spectrum to the TA* temperature scale. An in-depth explanation of the temperature scales is available here.

Before we can run the procedure, we need to update the baseline fitting parameters. Here we will utilize the results from fitting a baseline to the pointed track observations. Open the procedure argus_mapfsw.pro using your favorite editor and find the lines starting with:

!g.nregion =
!g.regions =
nfit =

Make sure you enter the parameters we determined in the previous step (here):

!g.nregion = 4
!g.regions = [622, 1668, 1820, 2218, 2389, 2788, 2936, 4009]
nfit = 14

Save and close the procedure. Now open gbtidl again and then run the procedure with the following parameters:

filein, 'Argus_DR21_n2hp_smoothed.raw.vegas'
.comp argus_mapfsw
argus_mapfsw, 37, 60, 35, 75

The argus_mapfsw procedure takes the following input parameters:

  • first scanline

  • last scanline

  • vane scan

  • number of integrations in a scanline (check nInt column in the summary output of GBTIDL)

You should see output like the following:

% Compiled module: GETATMOS.
Scan:    37 (IF:0 FD:9 PL:0)    Tsys:   1.00
Scan:    37 (IF:0 FD:9 PL:0)    Tsys:   1.00
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       37/      60 integration:        0/      75
saving fdnum        0 scanline:       37/      60 integration:       20/      75
saving fdnum        0 scanline:       37/      60 integration:       40/      75
saving fdnum        0 scanline:       37/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       38/      60 integration:        0/      75
saving fdnum        0 scanline:       38/      60 integration:       20/      75
saving fdnum        0 scanline:       38/      60 integration:       40/      75
saving fdnum        0 scanline:       38/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       39/      60 integration:        0/      75
saving fdnum        0 scanline:       39/      60 integration:       20/      75
saving fdnum        0 scanline:       39/      60 integration:       40/      75
saving fdnum        0 scanline:       39/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       40/      60 integration:        0/      75
saving fdnum        0 scanline:       40/      60 integration:       20/      75
saving fdnum        0 scanline:       40/      60 integration:       40/      75
saving fdnum        0 scanline:       40/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       41/      60 integration:        0/      75
saving fdnum        0 scanline:       41/      60 integration:       20/      75
saving fdnum        0 scanline:       41/      60 integration:       40/      75
saving fdnum        0 scanline:       41/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       42/      60 integration:        0/      75
saving fdnum        0 scanline:       42/      60 integration:       20/      75
saving fdnum        0 scanline:       42/      60 integration:       40/      75
saving fdnum        0 scanline:       42/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       43/      60 integration:        0/      75
saving fdnum        0 scanline:       43/      60 integration:       20/      75
saving fdnum        0 scanline:       43/      60 integration:       40/      75
saving fdnum        0 scanline:       43/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       44/      60 integration:        0/      75
saving fdnum        0 scanline:       44/      60 integration:       20/      75
saving fdnum        0 scanline:       44/      60 integration:       40/      75
saving fdnum        0 scanline:       44/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       45/      60 integration:        0/      75
saving fdnum        0 scanline:       45/      60 integration:       20/      75
saving fdnum        0 scanline:       45/      60 integration:       40/      75
saving fdnum        0 scanline:       45/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       46/      60 integration:        0/      75
saving fdnum        0 scanline:       46/      60 integration:       20/      75
saving fdnum        0 scanline:       46/      60 integration:       40/      75
saving fdnum        0 scanline:       46/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       47/      60 integration:        0/      75
saving fdnum        0 scanline:       47/      60 integration:       20/      75
saving fdnum        0 scanline:       47/      60 integration:       40/      75
saving fdnum        0 scanline:       47/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       48/      60 integration:        0/      75
saving fdnum        0 scanline:       48/      60 integration:       20/      75
saving fdnum        0 scanline:       48/      60 integration:       40/      75
saving fdnum        0 scanline:       48/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       49/      60 integration:        0/      75
saving fdnum        0 scanline:       49/      60 integration:       20/      75
saving fdnum        0 scanline:       49/      60 integration:       40/      75
saving fdnum        0 scanline:       49/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       50/      60 integration:        0/      75
saving fdnum        0 scanline:       50/      60 integration:       20/      75
saving fdnum        0 scanline:       50/      60 integration:       40/      75
saving fdnum        0 scanline:       50/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       51/      60 integration:        0/      75
saving fdnum        0 scanline:       51/      60 integration:       20/      75
saving fdnum        0 scanline:       51/      60 integration:       40/      75
saving fdnum        0 scanline:       51/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       52/      60 integration:        0/      75
saving fdnum        0 scanline:       52/      60 integration:       20/      75
saving fdnum        0 scanline:       52/      60 integration:       40/      75
saving fdnum        0 scanline:       52/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       53/      60 integration:        0/      75
saving fdnum        0 scanline:       53/      60 integration:       20/      75
saving fdnum        0 scanline:       53/      60 integration:       40/      75
saving fdnum        0 scanline:       53/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       54/      60 integration:        0/      75
saving fdnum        0 scanline:       54/      60 integration:       20/      75
saving fdnum        0 scanline:       54/      60 integration:       40/      75
saving fdnum        0 scanline:       54/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       55/      60 integration:        0/      75
saving fdnum        0 scanline:       55/      60 integration:       20/      75
saving fdnum        0 scanline:       55/      60 integration:       40/      75
saving fdnum        0 scanline:       55/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       56/      60 integration:        0/      75
saving fdnum        0 scanline:       56/      60 integration:       20/      75
saving fdnum        0 scanline:       56/      60 integration:       40/      75
saving fdnum        0 scanline:       56/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       57/      60 integration:        0/      75
saving fdnum        0 scanline:       57/      60 integration:       20/      75
saving fdnum        0 scanline:       57/      60 integration:       40/      75
saving fdnum        0 scanline:       57/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       58/      60 integration:        0/      75
saving fdnum        0 scanline:       58/      60 integration:       20/      75
saving fdnum        0 scanline:       58/      60 integration:       40/      75
saving fdnum        0 scanline:       58/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       59/      60 integration:        0/      75
saving fdnum        0 scanline:       59/      60 integration:       20/      75
saving fdnum        0 scanline:       59/      60 integration:       40/      75
saving fdnum        0 scanline:       59/      60 integration:       60/      75
% ACCUMAVE: Average of :         150 spectra
saving fdnum        0 scanline:       60/      60 integration:        0/      75
saving fdnum        0 scanline:       60/      60 integration:       20/      75
saving fdnum        0 scanline:       60/      60 integration:       40/      75
saving fdnum        0 scanline:       60/      60 integration:       60/      75

These lines should repeat 15 more times, with increasing fdnum from 1 - 15 (corresponding to beams 2-16). The procedure will write the calibrated integrations into a single fits file per beam. It will also create an index file for each beam. The basename of those files should be keep_beam_<fdnum>.

Once GBTIDL has successfully completed the calibration of all integrations in all scanlines for all beams, you can exit GBTIDL. We are now going to use the commandline tool gbtgridder to create a map from the calibrated integrations.

In the most simplistic approach just use:

gbtgridder *.fits

This will grid all fits files using default input values. You should see the following output:

Collecting arguments and data... 
Loading data ... 
    keep_beam_00.fits
    keep_beam_01.fits
    keep_beam_02.fits
    keep_beam_03.fits
    keep_beam_04.fits
    keep_beam_05.fits
    keep_beam_06.fits
    keep_beam_07.fits
    keep_beam_08.fits
    keep_beam_09.fits
    keep_beam_10.fits
    keep_beam_11.fits
    keep_beam_12.fits
    keep_beam_13.fits
    keep_beam_14.fits
    keep_beam_15.fits
Data Extracted Successfully.

 Please note that this gridding will be done using a monochromatic beam ie. using a single frequency (color) for the convolution kernel. 



 Your parameters were either user specified or assumed to be the following. Please review: 

Name          Value
--------      ---------
Kernel        gauss
Telescope     GBT
Projection    SFL
Input Chan.   0:4095
# Output Chan. 4096
# of spec.    28800
Image size    128x94
Beam_FWHM     0.0022119375382944973

 If you need more info, type 'N' and run again with `--verbose 4` flag 

 Would you like to continue with these parameters? 
 'Y' for yes, 'N' for no.  

Check the numbers and make sure to confirm with Y at the prompt. After about 3 minutes or so, gbtgridder should have completed (depending on your computing machine). The gbtgridder will create two files: A fits data cube and a weight cube. The weight cube can be used to stitch together various maps. Here we will focus on the data cube. Since we used the default parameters, this file will be called: DR21_93174_MHz_cube.fits.

You can open it in ds9 (or any other fits file viewer) and after a bit of clicking in the application, you can get a channel map and averaged spectrum displayed like shown here. In the averaged spectrum, you can still see a baseline ripple, so in order to use these data for scientific analysis, we would work further on the baseline either by fine-tuning the baseline parameters used during the calibration, or in a second step using e.g. python-based tools after the data cube has been created using gbtgridder.

../_images/Argus_tutorial_mapProcessing.png

Alternative way to determine baseline parameters#

If you only took mapped observations and no pointed scan, you would still want to be able to

  1. check if your line is being detected

  2. determine the baseline fitting parameters

A single integration from a scanline will usually have insufficient signal-to-noise to clearly detect the spectral line. In this case, you will want to coadd all integrations from a single (or even multiple scanlines). To do this use the GBTIDL procedure argus_fsw_coadd.pro. Assuming you are in GBTIDL and have already loaded the Argus dataset, you will use the following input parameters:

argus_fsw_coadd, first-scanline, last-scanline, vane-scan

So for example, the following command

argus_fsw_coadd, 37, 39, 35

will calibrate all integrations using the vane+sky pair 35+36 (it is sufficient to specify only the vane scan) and then coadd all integrations from scanlines 37 to 39. GBTIDL will show the following output:

% Compiled module: ARGUS_FSW_COADD.
% Compiled module: GETATMOS.
Scan:    37 (IF:0 FD:9 PL:0)    Tsys:   1.00
Scan:    37 (IF:0 FD:9 PL:0)    Tsys:   1.00
% ACCUMAVE: Average of :         150 spectra
Scan:    37 (IF:0 FD:0 PL:0)    Tsys:   1.00
Scan:    37 (IF:0 FD:0 PL:0)    Tsys:   1.00
beam and scan number       0      37
% ACCUMAVE: Average of :         150 spectra
Scan:    38 (IF:0 FD:0 PL:0)    Tsys:   1.00
Scan:    38 (IF:0 FD:0 PL:0)    Tsys:   1.00
beam and scan number       0      38
% ACCUMAVE: Average of :         150 spectra
Scan:    39 (IF:0 FD:0 PL:0)    Tsys:   1.00
Scan:    39 (IF:0 FD:0 PL:0)    Tsys:   1.00
beam and scan number       0      39
% ACCUMAVE: Average of :         150 spectra
Scan:    37 (IF:0 FD:1 PL:0)    Tsys:   1.00
Scan:    37 (IF:0 FD:1 PL:0)    Tsys:   1.00
beam and scan number       1      37
% ACCUMAVE: Average of :         150 spectra
Scan:    38 (IF:0 FD:1 PL:0)    Tsys:   1.00
Scan:    38 (IF:0 FD:1 PL:0)    Tsys:   1.00
beam and scan number       1      38
% ACCUMAVE: Average of :         150 spectra
Scan:    39 (IF:0 FD:1 PL:0)    Tsys:   1.00
Scan:    39 (IF:0 FD:1 PL:0)    Tsys:   1.00
beam and scan number       1      39
% ACCUMAVE: Average of :         150 spectra
Scan:    37 (IF:0 FD:2 PL:0)    Tsys:   1.00
Scan:    37 (IF:0 FD:2 PL:0)    Tsys:   1.00
beam and scan number       2      37
% ACCUMAVE: Average of :         150 spectra
Scan:    38 (IF:0 FD:2 PL:0)    Tsys:   1.00
Scan:    38 (IF:0 FD:2 PL:0)    Tsys:   1.00
beam and scan number       2      38
% ACCUMAVE: Average of :         150 spectra
Scan:    39 (IF:0 FD:2 PL:0)    Tsys:   1.00
Scan:    39 (IF:0 FD:2 PL:0)    Tsys:   1.00
beam and scan number       2      39
% ACCUMAVE: Average of :         150 spectra
Scan:    37 (IF:0 FD:3 PL:0)    Tsys:   1.00
Scan:    37 (IF:0 FD:3 PL:0)    Tsys:   1.00
beam and scan number       3      37
% ACCUMAVE: Average of :         150 spectra
Scan:    38 (IF:0 FD:3 PL:0)    Tsys:   1.00
Scan:    38 (IF:0 FD:3 PL:0)    Tsys:   1.00
beam and scan number       3      38
% ACCUMAVE: Average of :         150 spectra
Scan:    39 (IF:0 FD:3 PL:0)    Tsys:   1.00
Scan:    39 (IF:0 FD:3 PL:0)    Tsys:   1.00
beam and scan number       3      39
% ACCUMAVE: Average of :         150 spectra
Scan:    37 (IF:0 FD:4 PL:0)    Tsys:   1.00
Scan:    37 (IF:0 FD:4 PL:0)    Tsys:   1.00
beam and scan number       4      37
% ACCUMAVE: Average of :         150 spectra
Scan:    38 (IF:0 FD:4 PL:0)    Tsys:   1.00
Scan:    38 (IF:0 FD:4 PL:0)    Tsys:   1.00
beam and scan number       4      38
% ACCUMAVE: Average of :         150 spectra
Scan:    39 (IF:0 FD:4 PL:0)    Tsys:   1.00
Scan:    39 (IF:0 FD:4 PL:0)    Tsys:   1.00
beam and scan number       4      39
% ACCUMAVE: Average of :         150 spectra
Scan:    37 (IF:0 FD:5 PL:0)    Tsys:   1.00
Scan:    37 (IF:0 FD:5 PL:0)    Tsys:   1.00
beam and scan number       5      37
% ACCUMAVE: Average of :         150 spectra
Scan:    38 (IF:0 FD:5 PL:0)    Tsys:   1.00
Scan:    38 (IF:0 FD:5 PL:0)    Tsys:   1.00
beam and scan number       5      38
% ACCUMAVE: Average of :         150 spectra
Scan:    39 (IF:0 FD:5 PL:0)    Tsys:   1.00
Scan:    39 (IF:0 FD:5 PL:0)    Tsys:   1.00
beam and scan number       5      39
% ACCUMAVE: Average of :         150 spectra
Scan:    37 (IF:0 FD:6 PL:0)    Tsys:   1.00
Scan:    37 (IF:0 FD:6 PL:0)    Tsys:   1.00
beam and scan number       6      37
% ACCUMAVE: Average of :         150 spectra
Scan:    38 (IF:0 FD:6 PL:0)    Tsys:   1.00
Scan:    38 (IF:0 FD:6 PL:0)    Tsys:   1.00
beam and scan number       6      38
% ACCUMAVE: Average of :         150 spectra
Scan:    39 (IF:0 FD:6 PL:0)    Tsys:   1.00
Scan:    39 (IF:0 FD:6 PL:0)    Tsys:   1.00
beam and scan number       6      39
% ACCUMAVE: Average of :         150 spectra
Scan:    37 (IF:0 FD:7 PL:0)    Tsys:   1.00
Scan:    37 (IF:0 FD:7 PL:0)    Tsys:   1.00
beam and scan number       7      37
% ACCUMAVE: Average of :         150 spectra
Scan:    38 (IF:0 FD:7 PL:0)    Tsys:   1.00
Scan:    38 (IF:0 FD:7 PL:0)    Tsys:   1.00
beam and scan number       7      38
% ACCUMAVE: Average of :         150 spectra
Scan:    39 (IF:0 FD:7 PL:0)    Tsys:   1.00
Scan:    39 (IF:0 FD:7 PL:0)    Tsys:   1.00
beam and scan number       7      39
% ACCUMAVE: Average of :         150 spectra
Scan:    37 (IF:0 FD:8 PL:0)    Tsys:   1.00
Scan:    37 (IF:0 FD:8 PL:0)    Tsys:   1.00
beam and scan number       8      37
% ACCUMAVE: Average of :         150 spectra
Scan:    38 (IF:0 FD:8 PL:0)    Tsys:   1.00
Scan:    38 (IF:0 FD:8 PL:0)    Tsys:   1.00
beam and scan number       8      38
% ACCUMAVE: Average of :         150 spectra
Scan:    39 (IF:0 FD:8 PL:0)    Tsys:   1.00
Scan:    39 (IF:0 FD:8 PL:0)    Tsys:   1.00
beam and scan number       8      39
% ACCUMAVE: Average of :         150 spectra
Scan:    37 (IF:0 FD:9 PL:0)    Tsys:   1.00
Scan:    37 (IF:0 FD:9 PL:0)    Tsys:   1.00
beam and scan number       9      37
% ACCUMAVE: Average of :         150 spectra
Scan:    38 (IF:0 FD:9 PL:0)    Tsys:   1.00
Scan:    38 (IF:0 FD:9 PL:0)    Tsys:   1.00
beam and scan number       9      38
% ACCUMAVE: Average of :         150 spectra
Scan:    39 (IF:0 FD:9 PL:0)    Tsys:   1.00
Scan:    39 (IF:0 FD:9 PL:0)    Tsys:   1.00
beam and scan number       9      39
% ACCUMAVE: Average of :         150 spectra
Scan:    37 (IF:0 FD:10 PL:0)    Tsys:   1.00
Scan:    37 (IF:0 FD:10 PL:0)    Tsys:   1.00
beam and scan number      10      37
% ACCUMAVE: Average of :         150 spectra
Scan:    38 (IF:0 FD:10 PL:0)    Tsys:   1.00
Scan:    38 (IF:0 FD:10 PL:0)    Tsys:   1.00
beam and scan number      10      38
% ACCUMAVE: Average of :         150 spectra
Scan:    39 (IF:0 FD:10 PL:0)    Tsys:   1.00
Scan:    39 (IF:0 FD:10 PL:0)    Tsys:   1.00
beam and scan number      10      39
% ACCUMAVE: Average of :         150 spectra
Scan:    37 (IF:0 FD:11 PL:0)    Tsys:   1.00
Scan:    37 (IF:0 FD:11 PL:0)    Tsys:   1.00
beam and scan number      11      37
% ACCUMAVE: Average of :         150 spectra
Scan:    38 (IF:0 FD:11 PL:0)    Tsys:   1.00
Scan:    38 (IF:0 FD:11 PL:0)    Tsys:   1.00
beam and scan number      11      38
% ACCUMAVE: Average of :         150 spectra
Scan:    39 (IF:0 FD:11 PL:0)    Tsys:   1.00
Scan:    39 (IF:0 FD:11 PL:0)    Tsys:   1.00
beam and scan number      11      39
% ACCUMAVE: Average of :         150 spectra
Scan:    37 (IF:0 FD:12 PL:0)    Tsys:   1.00
Scan:    37 (IF:0 FD:12 PL:0)    Tsys:   1.00
beam and scan number      12      37
% ACCUMAVE: Average of :         150 spectra
Scan:    38 (IF:0 FD:12 PL:0)    Tsys:   1.00
Scan:    38 (IF:0 FD:12 PL:0)    Tsys:   1.00
beam and scan number      12      38
% ACCUMAVE: Average of :         150 spectra
Scan:    39 (IF:0 FD:12 PL:0)    Tsys:   1.00
Scan:    39 (IF:0 FD:12 PL:0)    Tsys:   1.00
beam and scan number      12      39
% ACCUMAVE: Average of :         150 spectra
Scan:    37 (IF:0 FD:13 PL:0)    Tsys:   1.00
Scan:    37 (IF:0 FD:13 PL:0)    Tsys:   1.00
beam and scan number      13      37
% ACCUMAVE: Average of :         150 spectra
Scan:    38 (IF:0 FD:13 PL:0)    Tsys:   1.00
Scan:    38 (IF:0 FD:13 PL:0)    Tsys:   1.00
beam and scan number      13      38
% ACCUMAVE: Average of :         150 spectra
Scan:    39 (IF:0 FD:13 PL:0)    Tsys:   1.00
Scan:    39 (IF:0 FD:13 PL:0)    Tsys:   1.00
beam and scan number      13      39
% ACCUMAVE: Average of :         150 spectra
Scan:    37 (IF:0 FD:14 PL:0)    Tsys:   1.00
Scan:    37 (IF:0 FD:14 PL:0)    Tsys:   1.00
beam and scan number      14      37
% ACCUMAVE: Average of :         150 spectra
Scan:    38 (IF:0 FD:14 PL:0)    Tsys:   1.00
Scan:    38 (IF:0 FD:14 PL:0)    Tsys:   1.00
beam and scan number      14      38
% ACCUMAVE: Average of :         150 spectra
Scan:    39 (IF:0 FD:14 PL:0)    Tsys:   1.00
Scan:    39 (IF:0 FD:14 PL:0)    Tsys:   1.00
beam and scan number      14      39
% ACCUMAVE: Average of :         150 spectra
Scan:    37 (IF:0 FD:15 PL:0)    Tsys:   1.00
Scan:    37 (IF:0 FD:15 PL:0)    Tsys:   1.00
beam and scan number      15      37
% ACCUMAVE: Average of :         150 spectra
Scan:    38 (IF:0 FD:15 PL:0)    Tsys:   1.00
Scan:    38 (IF:0 FD:15 PL:0)    Tsys:   1.00
beam and scan number      15      38
% ACCUMAVE: Average of :         150 spectra
Scan:    39 (IF:0 FD:15 PL:0)    Tsys:   1.00
Scan:    39 (IF:0 FD:15 PL:0)    Tsys:   1.00
beam and scan number      15      39
% ACCUMAVE: Average of :          48 spectra

together with this spectrum:

../_images/Argus_tutorial_mapCoadd.png

Using that spectrum you can determine the baseline parameters using the instructions given here.