NRAO Home  >  Green Bank  |  Wiki Topic:    GB > Software > PlanOfRecordC72005 > ModificationRequest13C705
   Changes | Index | Contents | Search | Statistics | Go

Add Support for new Ka Channels to GFM

Modification Request #13 (C07 2005)



1. Introduction

GFM needs to support the two new Channels in the Ka receiver.

2. Background

The Ka receiver used to have just two channels. Now it has four.

3. Requirements

General comments

3.1.1 New Spectral channels

We should be able to select any of the 4 channels and have them work (L1, L2, R1, R2). This means, in GFM's Options -> Tools -> Data selection menu, you should be able to choose any of the beams/polarizations from the menu, and the appropriate beam/polarization be selected from the FITS files just like any other receiver. (Note: I think the DCR plugin allows beam selection, but the others, just poln b/c they use tracking beam). We think this involves no new functionality per se, it should just work.

3.1.2 Generate Warnings if Desired beam/poln is unavailable

If the desired beam and polarization isn't available GFM should complain visibly and not just silently default to the first beam or polarization it comes across. This should happen for any receiver, not just KA.

3.2 Fetching the correct Tcal values when beam switching.

The Ka band receiver has the oddity that when you are in the REF state, not only does the feed change (which always happens... feed 1 --> feed 2 say), but the polarization changes as well. We must get the appropriate tcal when in the REF state. So suppose we are looking at beam 1 left polarization in the SIG state. We look up the Tcal for L1. If we are looking at that same backend input port in the REF state, we would get the Tcal for R2 (not L2 as would be the case for other receivers).

Although beyond the purview of this MR, the polarization also pertains to the calibration of spectral line data.

4. Design

To address the requirements in section 3.1.1 above, all that needs to be done is to remove the "if" statement regarding the Ka receiver in the ReadReceiverInfo method of the Input class in the dcr module of sparrow. Once removed, GFM (and all other programs that use this library) will select channels/beams/polarizations for the Ka receiver just as it does any other multi-beam receiver.

To address the requirements in section 3.1.2 above, the GetSampler method of the Continuum class in the calibration module needs to be modified to sent a visible message to the user when the desired sampler is not found; currently it returns the first sampler without complaint. I believe that this can be accomplished by adding a print statement to the method right before returning the default sampler value. The message will read, "Cannot find beam 'beamname' with polarization 'polarization' in the backend's FITS file."

To address the requirements in section 3.2 above, the GetSampler method of the Continuum class in the calibration module needs to be modified to add an "if" statement that checks to see if we are looking for the sky beam (i.e. not the track beam) of the Ka Receiver. When triggered, the "if" statement will grab the data from the other polarization.

PICK UPDATE (4/4/2006): The design proposal above for section 3.2 is wrong. The "if" statement is indeed needed, BUT should only be invoked when fetching tcal values and not the data iteself. This was implemented incorrectly and is now fixed as of version 6.2.

5. Deployment Checklist

6. Test Plan

Signatures

APPROVED: I acknowledge that my request is fully contained in this MR, and if the SDD delivers exactly what I specified, I will be happy.

ACCEPTED: I acknowledge that I have validated the completed code according to the acceptance tests, and I am happy with the results.

Written DONE - AmyShelton - 01 Dec 2005
Checked DONE - NicoleRadziwill - 02 Dec 2005
Approved by Sponsor DONE BrianMason - 01 Dec 2005
Approved by CCC DONE RichardPrestage - 19 Dec 2005
Accepted/Delivered by Sponsor DONE Brian Mason 06feb06 -- HOWEVER correctness of Tcal-fetching not presently verifiable for external reasons

Symbols:


CCC Discussion Area


PaulMarganian - 11 Oct 2005

-- PaulMarganian - 11 Oct 2005

Topic ModificationRequest13C705 . { Edit | Attach | Ref-By | Printable | Diffs | r1.10 | > | r1.9 | > | r1.8 | More }
Revision r1.10 - 05 Apr 2006 - 15:15 GMT - AmyShelton
Parents: PlanOfRecordC72005
Content copyright © 1999-2007 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors.