All Packages Class Hierarchy This Package Previous Next Index
Class JObserve.Calibrator
java.lang.Object
|
+----JObserve.Linkage
|
+----JObserve.LabeledLink
|
+----JObserve.Calibrator
- public final class Calibrator
- extends LabeledLink
Calibrator source class
This class consists of calibrator source information with links
to tie them together into a Linkage list calibrator data base.
In the C version this was both CalibratorStructure and
CalibratorRecordStructure.
Everything is public to facilitate the translation from c.
Calibrators are linked using their LabeledLink/Linkage members.
Note, however that the head of the list is type LabeledLink and not a
Calibrator. Also since the lists are circular the list ends when it gets
back to the (non Calibrator) head. Looping over the list should be done
using the LabeledLink superclass.
- See Also:
- LabeledLink, Linkage
-
AKAName
- Alias for calibrator
10 characters
-
B1950
- B1950 info
-
BandCount
- Number of bands for which there is data
No entries are indicates by BandCount=1 and BandList[0].Code == ' '
(this is a curious technique).
-
BandList
- frequency band dependent data
-
J2000
- J2000 info
-
MaximumBandTables
- Maximum number of bands supported.
-
selectedEpoch
- info for selected Epoch
-
Calibrator()
- Default constructor
Arrays are created but strings are not to help in the location
of uninitialized strings.
-
Calibrator(Calibrator)
- Copy constructor
Since a Calibrator object is mostly immutable copy pointers of members
-
display()
- Display a Calibrator entry in a dialog
-
distance(double, double)
- Return the angular distance between a source and the calibrator
Uses the J2000 positions.
-
UseB1950Names(ListBlock)
- Change Calibrator list to use B1950 names
-
UseJ2000Names(ListBlock)
- Change Calibrator list to use J2000 names
MaximumBandTables
public static final int MaximumBandTables
- Maximum number of bands supported.
The following definition represents the maximum number of bands for any one source
that can appear in the calibrator database. If Observe ever adds new bands in the
calibrator database, you will probably have to increase the number here.
As far as I know, this is the ONLY place in the entire system where this needs to
be done.
J2000
public CalSourceInfo J2000
- J2000 info
B1950
public CalSourceInfo B1950
- B1950 info
selectedEpoch
public CalSourceInfo selectedEpoch
- info for selected Epoch
BandList
public BandInfo BandList[]
- frequency band dependent data
AKAName
public String AKAName
- Alias for calibrator
10 characters
BandCount
public int BandCount
- Number of bands for which there is data
No entries are indicates by BandCount=1 and BandList[0].Code == ' '
(this is a curious technique).
Calibrator
public Calibrator()
- Default constructor
Arrays are created but strings are not to help in the location
of uninitialized strings.
Calibrator
public Calibrator(Calibrator in)
- Copy constructor
Since a Calibrator object is mostly immutable copy pointers of members
- Parameters:
-
Calibrator
- Object to copy
UseJ2000Names
public static void UseJ2000Names(ListBlock CalList)
- Change Calibrator list to use J2000 names
- Parameters:
-
ListBlock
- The calibrator list
UseB1950Names
public static void UseB1950Names(ListBlock CalList)
- Change Calibrator list to use B1950 names
- Parameters:
-
ListBlock
- The calibrator list
distance
public double distance(double RA,
double Dec)
- Return the angular distance between a source and the calibrator
Uses the J2000 positions.
- Parameters:
-
double
- J2000 RA of source in radians
-
double
- J2000 Dec of source in radians
-
double
- angle in deg. between the two sources
display
public void display()
- Display a Calibrator entry in a dialog
All Packages Class Hierarchy This Package Previous Next Index