[daip] [!8779]: AIPS - IMEAN dies on flagged channel

Eric Greisen noreply at nrao.edu
Wed Aug 3 10:40:50 EDT 2016


Eric Greisen updated #8779
--------------------------

       Staff (Owner): Eric Greisen (was: -- Unassigned --)
              Status: Closed (was: Open)
                 Due: - Cleared - (was: 04 August 2016 11:46 PM)

IMEAN dies on flagged channel
-----------------------------

           Ticket ID: 8779
                 URL: https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/8779
           Full Name: Robert Gray
               Email: roberthansengray at gmail.com
             Creator: User
          Department: AIPS Data Reduction
       Staff (Owner): Eric Greisen
                Type: Issue
              Status: Closed
            Priority: Default
      Template Group: Default
             Created: 02 August 2016 11:46 PM
             Updated: 03 August 2016 02:40 PM



If you use QIMVAL on each plane before trying IMEAN and SAD on that
plane, it will return ERROR=1 when the area around the specified pixel
is all blanked.  Assuming that you have not blanked any pixels (other
than whole flagged planes), you can then have an IF statement in
your procedure (IF (error=-1) then; go imean; go sad; end).

Eric Greisen




------------------------------------------------------
Staff CP:  https://help.nrao.edu/staff



More information about the Daip mailing list