|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.nrao.sss.model.resource.AntennaFrontEnd
public class AntennaFrontEnd
The portion of an antenna's electronics that immediately follows the collector of the sky signal.
Version Info:
$Revision: 1710 $ |
$Date: 2008-11-14 11:54:07 -0700 (Fri, 14 Nov 2008) $ |
$Author: dharland $ (last person to modify) |
Constructor Summary | |
---|---|
AntennaFrontEnd(ReceiverBand band,
Set<PolarizationType> polarizations)
Creates a new front end whose output signals are the same as those of its receiver band. |
|
AntennaFrontEnd(ReceiverBand band,
Set<PolarizationType> polarizations,
SignalSource localOscillator,
int loMultiplier,
FrequencyRange filterRange,
boolean mixDown)
Creates a new front end that is initially turned off. |
Method Summary | |
---|---|
void |
execute()
Executes all the devices that are connected to the outputs of this front end. |
ReceiverBand |
getBand()
Returns the receiver band handled by this front end. |
LocalOscillatorPath |
getLocalOscillatorPath()
Returns the local oscillator path, if any, for this front end. |
SignalPipe |
getOuputPipe(PolarizationType polarizationType)
Returns the output of this front end that produces signals with the given polarization. |
Set<PolarizationType> |
getPolarizations()
Returns the polarizations of the outputs produced by this front end. |
boolean |
isOff()
Returns true if this front end is not picking up signals. |
boolean |
isOn()
Returns true if this front end is picking up signals. |
static Map<ReceiverBand,AntennaFrontEnd> |
makeEvlaFrontEnds(Map<ReceiverBand,SignalSource> loSignals)
Creates all of the EVLA front ends and returns them in a map whose key is the receiver band of that front end. |
Frequency |
suggestLOFrequencyToMoveOutputCenterTo(Frequency ifCenter)
Returns a frequency that can be used to shift the center frequency of this front end to ifCenter . |
void |
turnOff()
Turns off this front end so that it does not pick up signals. |
void |
turnOn()
Turns on this front end so that it picks up signals. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AntennaFrontEnd(ReceiverBand band, Set<PolarizationType> polarizations)
other constructor
.
This constructor is equivalent to calling
AntennaFrontEnd(band, polarizations, null, 1.0, true)
.
Note that this front end is initially turned off.
band
- the receiver band that this front end handles.polarizations
- the polarizations of the outputs of this feed. This feed will have one
output for each of these polarizations.turnOn()
public AntennaFrontEnd(ReceiverBand band, Set<PolarizationType> polarizations, SignalSource localOscillator, int loMultiplier, FrequencyRange filterRange, boolean mixDown)
band
- the receiver band that this front end handles.polarizations
- the polarizations of the outputs of this feed. This feed will have one
output for each of these polarizations.localOscillator
- the source of the signal, if any, to mix with the feed before producing
the outputs of this front end. For front ends that do no mixing,
use a value of null here.loMultiplier
- the factor to apply to the signal of the localOscillator
before mixing with the sky signal. This value will be ignored if
localOscillator
is null. If this feed has an LO
that does not get multiplied, use a value of 1.0 here.filterRange
- the range of the filter, if any, attached to the output of the
multiplier, or directly to the LO if there is no multiplier.
If no filter is used, pass a value of null.mixDown
- true if the localOscillator
's signal should be used
to mix this front end's signal down to lower frequencies, false
if it should use the LO to mix it upward. Even if no mixing is required
(as indicated by a null localOscillator
), this value has
an impact on the way
suggestLOFrequencyToMoveOutputCenterTo(Frequency)
calculates its result.turnOn()
Method Detail |
---|
public static Map<ReceiverBand,AntennaFrontEnd> makeEvlaFrontEnds(Map<ReceiverBand,SignalSource> loSignals)
loSignals
- a map whose key is a receiver band and whose value will be treated
as a local oscillator of the front end for that band. Only those
front ends that use LOs need have an entry in this map.
public ReceiverBand getBand()
public Set<PolarizationType> getPolarizations()
public SignalPipe getOuputPipe(PolarizationType polarizationType)
polarizationType
- the polarization of signals produced by the returned output.
polarizationType
polarization.public LocalOscillatorPath getLocalOscillatorPath()
public Frequency suggestLOFrequencyToMoveOutputCenterTo(Frequency ifCenter)
ifCenter
.
TODO: determine how to handle impossible requests.
ifCenter
- the central frequency produced by mixing this front end's signal
with a local oscillator's signal.
ifCenter
.public void execute()
public boolean isOn()
public boolean isOff()
public void turnOn()
public void turnOff()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |