alma.aedf.types
Class SwitchCycle
java.lang.Object
|
+--alma.aedf.types.AEDF
|
+--alma.aedf.types.SwitchCycle
- public class SwitchCycle
- extends AEDF
Cycle information in switching modes.
The SwitchCycle table gives the differente states in a complete cycle for an observation mode with modulation in frequency and/or space. It is referenced in the switchCycleArray collection in the ConfigDescription table. Phase switching for sideband separation is not considered here since it it does not imply a size greater than 1 along the bin axis in the data cell.
Constructor Summary |
SwitchCycle()
An empty constructor. |
SwitchCycle(int numCycleStep,
int switchMode,
boolean[] reference,
float[] weight,
float[] offset)
A full constructor. |
Methods inherited from class alma.aedf.types.AEDF |
info |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwitchCycle
public SwitchCycle()
- An empty constructor.
SwitchCycle
public SwitchCycle(int numCycleStep,
int switchMode,
boolean[] reference,
float[] weight,
float[] offset)
- A full constructor.
- Parameters:
numCycleStep
- Number numCycleStep of states in the cycleswitchMode
- Switching modereference
- Referenceweight
- Weight of each switching stateoffset
- Offset(s) of each switching state
toTR
public java.lang.String toTR()
- Specified by:
toTR
in class AEDF
addField
public void addField(java.lang.String f)
throws AEDFException
- Specified by:
addField
in class AEDF
AEDFException
setNumCycleStep
public void setNumCycleStep(int numCycleStep)
setSwitchMode
public void setSwitchMode(int switchMode)
setReference
public void setReference(boolean[] reference)
setWeight
public void setWeight(float[] weight)
setOffset
public void setOffset(float[] offset)
getNumCycleStep
public int getNumCycleStep()
getSwitchMode
public int getSwitchMode()
getReference
public boolean[] getReference()
getWeight
public float[] getWeight()
getOffset
public float[] getOffset()