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.
 
Method Summary
 void addField(java.lang.String f)
           
 int getNumCycleStep()
           
 float[] getOffset()
           
 boolean[] getReference()
           
 int getSwitchMode()
           
 float[] getWeight()
           
 void setNumCycleStep(int numCycleStep)
           
 void setOffset(float[] offset)
           
 void setReference(boolean[] reference)
           
 void setSwitchMode(int switchMode)
           
 void setWeight(float[] weight)
           
 java.lang.String toTR()
           
 
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
 

Constructor Detail

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 cycle
switchMode - Switching mode
reference - Reference
weight - Weight of each switching state
offset - Offset(s) of each switching state
Method Detail

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()