All Packages Class Hierarchy This Package Previous Next Index
Class JObserve.VLA.SkyFrequencyF
java.lang.Object
|
+----JObserve.FieldLink
|
+----JObserve.Field4
|
+----JObserve.VLA.SkyFrequencyF
- public final class SkyFrequencyF
- extends Field4
Field definition for SkyFrequencyF class. 1 element per IF
'---,--9.999999' (14 characters)
Defines structures and member functions for the manipulation,
display and editing of scan information.
Expects the Scan members of this type to be named SkyFrequency.
-
Value
- Data
-
GiveValue()
- Write value to string(s)
Only returns a value if Explicit values are present.
-
ParseValue(String, int, boolean)
- Read value from string
Set value to input string.
-
Set25MHzSkyFrequency(VLAScan, int)
- Set Sky Frequency for using 25 MHz IFs
-
Set50MHzSkyFrequency(VLAScan, int)
- Set Sky Frequency for using 50 MHz IFs
-
SetDefault(Scan, Scan)
- Set defaults
Fill in defaults if not explicit in Current but is in Default.
-
SetSkyFrequency(VLAScan, int)
- Set SkyFrequency if absent or computed
Must be called in order of ascending IfIndex.
-
SumOfLo(BandTable, IfTable, double, double, double, double)
- Signed sum of Local Oscillator frequencies
Details depend on which sideband is involved
-
toString()
- Write value to string
Value
public String Value[]
- Data
SetDefault
public void SetDefault(Scan scan,
Scan def)
- Set defaults
Fill in defaults if not explicit in Current but is in Default.
- Parameters:
-
Scan
- of this this field is a member.
-
Scan
- to get defaults from.
- Overrides:
- SetDefault in class FieldLink
SetSkyFrequency
public static void SetSkyFrequency(VLAScan theScan,
int IfIndex)
- Set SkyFrequency if absent or computed
Must be called in order of ascending IfIndex.
- Parameters:
-
VLAScan<\code> - the Scan in question
-
int<\code> - Which If? 0-rel
SumOfLo
public static double SumOfLo(BandTable BandT,
IfTable IfT,
double f1,
double f2,
double f5,
double f12)
- Signed sum of Local Oscillator frequencies
Details depend on which sideband is involved
- Parameters:
-
BandTable<\code> - BandTable for IF
-
IfTable<\code> - IfTable for IF
-
double<\code> - f1 frequency
-
double<\code> - f2 frequency
-
double<\code> - f5 frequency
-
double<\code> - f12 frequency
- Returns:
-
double<\code> Sum of Lo frequencies
Set50MHzSkyFrequency
public static void Set50MHzSkyFrequency(VLAScan Current,
int IfIndex)
- Set Sky Frequency for using 50 MHz IFs
- Parameters:
-
VLAScan
- to modify
-
int
- which IF?
Set25MHzSkyFrequency
public static void Set25MHzSkyFrequency(VLAScan Current,
int IfIndex)
- Set Sky Frequency for using 25 MHz IFs
- Parameters:
-
VLAScan
- to modify
-
int
- which IF?
ParseValue
public void ParseValue(String Value,
int Index,
boolean Constant)
- Read value from string
Set value to input string.
- Parameters:
-
String
- Value string
-
index
- Index for Value
-
boolean
- true if a constant value
- Overrides:
- ParseValue in class FieldLink
GiveValue
public String[] GiveValue()
- Write value to string(s)
Only returns a value if Explicit values are present.
Format: Name(index)* Value<\br>
Where (index) is present if the value is an array (true for Field4),
and the "*" indicates a constant (not editable) value
- Returns:
-
String
one entry per Value array element;
null if no explicit value.
A null array entry indicates no explicit value for that entru
- Overrides:
- GiveValue in class FieldLink
toString
public String toString()
- Write value to string
- Returns:
-
String
String representation
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index