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

Software Fix for Spectrometer "Bad Lags"

Modification Request #15 (C3 2006)



1. Introduction

The "bad lag" problem with the spectrometer is causing observers to lose considerable amounts of data. We need a fix in place to help them recover their "lost" data.

2. Background

The spectrometer suffers from drop-outs in the values for some of the lags. While this problem is being fixed in hardware (see http://www.gb.nrao.edu/GBT/spectrometer/index.html), that fix will not be complete in the near future. To help observers with this problem, we will make a fix in the aips++ and sdfits fillers to allow users to replace the bad lag values with values which closely repreesnt reality.

3. Requirements

The fillers (aips++ and sdfits) should gain a new argument which lets users choose to fix the bad lags in their data. By default, this argument should be turned off.

There are two different types of "drop-outs", and fixing the two problems requires a slightly different approach. In each case, though, the data should be flagged to note that a given integration had lags altered. Additionally, it must be possible for the user to determine exactly which data were fixed.

4. Design

The changes needed to the aips++ filler and sdfits are very similar as seen by the user.

5. Deployment Checklist

-fixbadlags
          Attempt to find and fix bad lags in ACS data.  The locations
          of the lags that were fixed are written to a log file.  The
          name of the log file is OUTPUT_PREFIX.MODE.acs.fixed_lags.
          This fix should only be used if you know that your data suffer
          from lag dropouts.  Full documentation on how the lags fixed is 
          applied is available at http://wiki.gb.nrao.edu/bin/view/Software/ModificationRequest15C306

    -sigmafactor=SIGMA_FACTOR
          This is part of the fixbadlags option.
          Lags are bad when they deviate from a comparison mean value
          by more than SIGMA_FACTOR times the standard deviation of the
          comparison data around that mean.  This defaults to 6. 

    -spikestart=SPIKE_START
          This is part of the fixbadlags option.
          Single bad lags (spikes or drop outs) are searched for starting
          with the SPIKE_START lag.  This defaults to 200.

6. Test Plan

We will test against a number of datasets with known problems and which are known to not have problems. The data will be examined in lag and in frequency space to insure the resultant data is useful.


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 - BobGarwood - 5 Jun 2006
Checked DONE - PaulMarganian - 5 Jun 2006
Approved by Sponsor DONE - KarenONeil - 06 Jun 2006
Approved by CCC DONE - RichardPrestage - 16 Jun 2006
Accepted/Delivered by Sponsor DONE - KarenONeil - 13 Sep 06

Symbols:


CCC Discussion Area

-- KarenONeil - 27 Apr 2006

Topic ModificationRequest15C306 . { Edit | Attach | Ref-By | Printable | Diffs | r1.13 | > | r1.12 | > | r1.11 | More }
Revision r1.13 - 01 Feb 2007 - 19:44 GMT - BobGarwood Content copyright © 1999-2007 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors.