All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JObserve.VLA.VLAScan

java.lang.Object
   |
   +----JObserve.Linkage
           |
           +----JObserve.LabeledLink
                   |
                   +----JObserve.Scan
                           |
                           +----JObserve.VLA.VLAScan

public final class VLAScan
extends Scan
VLA source scan information class. This class contains the information for the scheduling of VLA observations of a given source. Everything is public to facilitate the translation from c.

Scans are linked using their LabeledLink/Linkage members. Note, however that the head of the list is type LabeledLink and not a Scan. Also since the lists are circular the list ends when it gets back to the (non Scan) head. Looping over the list should be done using the LabeledLink superclass.

This class corresponds to SrcStructure in the old C Observe.

See Also:
LabeledLink, Linkage

Variable Index

 o Frequency
Scan Frequency information
 o Instrument
Scan Instrument information
 o LastLink
Last link of Field linked list
 o Messages
Scan Messages
 o Mount
Scan Mount information
 o Pattern
Scan Sky Pattern information
 o Source
Scan source and position information
 o Time
Scan time information

Constructor Index

 o VLAScan(VLAScan)
Constructor from VLAScan VLA version, copy members Note: Scans cannot be "duplicated" simply using their pointers as they contain links to others in a list.

Method Index

 o CheckFields()
Some limited checking of values
 o copy(Scan)
Copy a Scan VLA version
 o copy(VLAScan)
Copy a VLAScan
 o FillDefaults(Scan)
Fill in defaults of members If explicit values are not set in the Scan and are in the default Scan then the values are copied from the default scan.
 o FinishParse(Scan)
Any cleanup operations needed for parsing a Scan
 o GetRADEC(boolean)
Return RA, Dec in radians VLA version
 o GetRADECStrings(boolean)
Return RA, Dec strings
 o GetSourceName()
Return Source Name
 o GetStopPos(ScanPos)
Get final position of a scan
 o IsScanScheduled()
Determine if scan is scheduled
 o makeEditPanels(Scan, String)
Make Scan editing panels VLA version Create Source, Scheduling, Frequency, LO, Correlator and pattern pages
 o MergeCalibratorToSource(Calibrator, Observation)
Copy Calibrator source information to a Scan
 o PrecessAllEpochs()
Precess the epochs not explicitly from value set
 o PrecessAllEpochs(int, double, double)
Precess the epochs not explicitly set in scan structure
 o ResetCoordinates(Observation)
Update coordinates of Date in a single Scan
 o ResetScanTime(int)
Reset specified time in Scan VLA version
 o SourceErrors(int)
Check for scheduling errors in scan.
 o UnscheduleScan()
Unschedule Scan

Variables

 o LastLink
 public FieldLink LastLink
Last link of Field linked list

 o Time
 public VLATimeF Time
Scan time information

 o Source
 public VLASourceF Source
Scan source and position information

 o Frequency
 public VLAFrequencyF Frequency
Scan Frequency information

 o Mount
 public VLAMountF Mount
Scan Mount information

 o Instrument
 public VLAInstrumentF Instrument
Scan Instrument information

 o Pattern
 public VLAPatternF Pattern
Scan Sky Pattern information

 o Messages
 public VLAMessagesF Messages
Scan Messages

Constructors

 o VLAScan
 public VLAScan(VLAScan scan)
Constructor from VLAScan VLA version, copy members Note: Scans cannot be "duplicated" simply using their pointers as they contain links to others in a list.

Parameters:
VLAScan - the Scan to copy
Returns:
VLAScan the new scan

Methods

 o copy
 public void copy(Scan out)
Copy a Scan VLA version

Parameters:
Scan - the Scan to copy to
Overrides:
copy in class Scan
 o copy
 public void copy(VLAScan out)
Copy a VLAScan

Parameters:
VLAScan - the Scan to copy to
 o makeEditPanels
 public ObservePanel[] makeEditPanels(Scan scan,
                                      String label)
Make Scan editing panels VLA version Create Source, Scheduling, Frequency, LO, Correlator and pattern pages

Parameters:
Scan - Working copy of Scan
String - Label for the scan to be edited
Returns:
ObservePanel[] Array of sub panels for editing
Overrides:
makeEditPanels in class Scan
 o FillDefaults
 public void FillDefaults(Scan def)
Fill in defaults of members If explicit values are not set in the Scan and are in the default Scan then the values are copied from the default scan.

Parameters:
Scan - Scan to get default values from.
Overrides:
FillDefaults in class Scan
 o CheckFields
 public void CheckFields()
Some limited checking of values

Overrides:
CheckFields in class Scan
 o GetStopPos
 public void GetStopPos(ScanPos out)
Get final position of a scan

Parameters:
ScanPos - Structure to be filled in
Overrides:
GetStopPos in class Scan
 o UnscheduleScan
 public void UnscheduleScan()
Unschedule Scan

Overrides:
UnscheduleScan in class Scan
 o IsScanScheduled
 public boolean IsScanScheduled()
Determine if scan is scheduled

Returns:
boolean true if scan is scheduled
Overrides:
IsScanScheduled in class Scan
 o FinishParse
 public void FinishParse(Scan theScan)
Any cleanup operations needed for parsing a Scan

Parameters:
Scan - the Scan parsed
Overrides:
FinishParse in class Scan
 o GetRADECStrings
 public String[] GetRADECStrings(boolean J2000)
Return RA, Dec strings

Parameters:
boolean - true if J2000, false if B1950
Returns:
String[] RA, Dec strings with no embedded blanks
Overrides:
GetRADECStrings in class Scan
 o GetRADEC
 public double[] GetRADEC(boolean J2000)
Return RA, Dec in radians VLA version

Parameters:
boolean - true if J2000, false if B1950
Returns:
double[] RA, Decin radians
Overrides:
GetRADEC in class Scan
 o GetSourceName
 public String GetSourceName()
Return Source Name

Returns:
String Name of the source
Overrides:
GetSourceName in class Scan
 o SourceErrors
 public boolean SourceErrors(int errorType)
Check for scheduling errors in scan.

Parameters:
- int type (WARNING, ERRORS, BOTH) to check for
Returns:
true if one or more errors/warnings exist.
Overrides:
SourceErrors in class Scan
 o MergeCalibratorToSource
 public void MergeCalibratorToSource(Calibrator theCal,
                                     Observation Obs)
Copy Calibrator source information to a Scan

Parameters:
Calibrator - the calibrator to be copied
Observation - the whole Observation
Overrides:
MergeCalibratorToSource in class Scan
 o PrecessAllEpochs
 public void PrecessAllEpochs(int TypeOfEpoch,
                              double RAValue,
                              double DecValue)
Precess the epochs not explicitly set in scan structure

Parameters:
Scan<\Code> - the Scan to be updated
int<\Code> - Epoch type (defined in VLASourceF)
double<\Code> - numeric Ra as hhmmss.sss
double<\Code> - numeric Dec as ddmmss.sss
Overrides:
PrecessAllEpochs in class Scan
See Also:
VLAScan, VLASource
 o PrecessAllEpochs
 public void PrecessAllEpochs()
Precess the epochs not explicitly from value set

See Also:
VLAScan, VLASource
 o ResetCoordinates
 public void ResetCoordinates(Observation Obs)
Update coordinates of Date in a single Scan

Parameters:
Observation - the associated observation
Overrides:
ResetCoordinates in class Scan
 o ResetScanTime
 public void ResetScanTime(int newTime)
Reset specified time in Scan VLA version

Parameters:
int - new Specified Time code (Scan.java)
Overrides:
ResetScanTime in class Scan
See Also:
Scan

All Packages  Class Hierarchy  This Package  Previous  Next  Index