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

Variable Index

 o AKAName
Alias for calibrator 10 characters
 o B1950
B1950 info
 o 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).
 o BandList
frequency band dependent data
 o J2000
J2000 info
 o MaximumBandTables
Maximum number of bands supported.
 o selectedEpoch
info for selected Epoch

Constructor Index

 o Calibrator()
Default constructor Arrays are created but strings are not to help in the location of uninitialized strings.
 o Calibrator(Calibrator)
Copy constructor Since a Calibrator object is mostly immutable copy pointers of members

Method Index

 o display()
Display a Calibrator entry in a dialog
 o distance(double, double)
Return the angular distance between a source and the calibrator Uses the J2000 positions.
 o UseB1950Names(ListBlock)
Change Calibrator list to use B1950 names
 o UseJ2000Names(ListBlock)
Change Calibrator list to use J2000 names

Variables

 o 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.

 o J2000
 public CalSourceInfo J2000
J2000 info

 o B1950
 public CalSourceInfo B1950
B1950 info

 o selectedEpoch
 public CalSourceInfo selectedEpoch
info for selected Epoch

 o BandList
 public BandInfo BandList[]
frequency band dependent data

 o AKAName
 public String AKAName
Alias for calibrator 10 characters

 o 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).

Constructors

 o Calibrator
 public Calibrator()
Default constructor Arrays are created but strings are not to help in the location of uninitialized strings.

 o Calibrator
 public Calibrator(Calibrator in)
Copy constructor Since a Calibrator object is mostly immutable copy pointers of members

Parameters:
Calibrator - Object to copy

Methods

 o UseJ2000Names
 public static void UseJ2000Names(ListBlock CalList)
Change Calibrator list to use J2000 names

Parameters:
ListBlock - The calibrator list
 o UseB1950Names
 public static void UseB1950Names(ListBlock CalList)
Change Calibrator list to use B1950 names

Parameters:
ListBlock - The calibrator list
 o 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
 o display
 public void display()
Display a Calibrator entry in a dialog


All Packages  Class Hierarchy  This Package  Previous  Next  Index