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
-
Frequency
- Scan Frequency information
-
Instrument
- Scan Instrument information
-
LastLink
- Last link of Field linked list
-
Messages
- Scan Messages
-
Mount
- Scan Mount information
-
Pattern
- Scan Sky Pattern information
-
Source
- Scan source and position information
-
Time
- Scan time information
-
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.
-
CheckFields()
- Some limited checking of values
-
copy(Scan)
- Copy a Scan
VLA version
-
copy(VLAScan)
- Copy a VLAScan
-
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.
-
FinishParse(Scan)
- Any cleanup operations needed for parsing a Scan
-
GetRADEC(boolean)
- Return RA, Dec in radians
VLA version
-
GetRADECStrings(boolean)
- Return RA, Dec strings
-
GetSourceName()
- Return Source Name
-
GetStopPos(ScanPos)
- Get final position of a scan
-
IsScanScheduled()
- Determine if scan is scheduled
-
makeEditPanels(Scan, String)
- Make Scan editing panels
VLA version
Create Source, Scheduling, Frequency, LO, Correlator and pattern pages
-
MergeCalibratorToSource(Calibrator, Observation)
- Copy Calibrator source information to a Scan
-
PrecessAllEpochs()
- Precess the epochs not explicitly from value set
-
PrecessAllEpochs(int, double, double)
- Precess the epochs not explicitly set in scan structure
-
ResetCoordinates(Observation)
- Update coordinates of Date in a single Scan
-
ResetScanTime(int)
- Reset specified time in Scan
VLA version
-
SourceErrors(int)
- Check for scheduling errors in scan.
-
UnscheduleScan()
- Unschedule Scan
LastLink
public FieldLink LastLink
- Last link of Field linked list
Time
public VLATimeF Time
- Scan time information
Source
public VLASourceF Source
- Scan source and position information
Frequency
public VLAFrequencyF Frequency
- Scan Frequency information
Mount
public VLAMountF Mount
- Scan Mount information
Instrument
public VLAInstrumentF Instrument
- Scan Instrument information
Pattern
public VLAPatternF Pattern
- Scan Sky Pattern information
Messages
public VLAMessagesF Messages
- Scan Messages
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
copy
public void copy(Scan out)
- Copy a Scan
VLA version
- Parameters:
-
Scan
- the Scan to copy to
- Overrides:
- copy in class Scan
copy
public void copy(VLAScan out)
- Copy a VLAScan
- Parameters:
-
VLAScan
- the Scan to copy to
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
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
CheckFields
public void CheckFields()
- Some limited checking of values
- Overrides:
- CheckFields in class Scan
GetStopPos
public void GetStopPos(ScanPos out)
- Get final position of a scan
- Parameters:
-
ScanPos
- Structure to be filled in
- Overrides:
- GetStopPos in class Scan
UnscheduleScan
public void UnscheduleScan()
- Unschedule Scan
- Overrides:
- UnscheduleScan in class Scan
IsScanScheduled
public boolean IsScanScheduled()
- Determine if scan is scheduled
- Returns:
-
boolean
true if scan is scheduled
- Overrides:
- IsScanScheduled in class Scan
FinishParse
public void FinishParse(Scan theScan)
- Any cleanup operations needed for parsing a Scan
- Parameters:
-
Scan
- the Scan parsed
- Overrides:
- FinishParse in class Scan
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
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
GetSourceName
public String GetSourceName()
- Return Source Name
- Returns:
-
String
Name of the source
- Overrides:
- GetSourceName in class Scan
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
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
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
PrecessAllEpochs
public void PrecessAllEpochs()
- Precess the epochs not explicitly from value set
- See Also:
- VLAScan, VLASource
ResetCoordinates
public void ResetCoordinates(Observation Obs)
- Update coordinates of Date in a single Scan
- Parameters:
-
Observation
- the associated observation
- Overrides:
- ResetCoordinates in class Scan
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