Commit e9b98cb4 authored by Andrea Orlat's avatar Andrea Orlat
Browse files

bug when configuring q band fixed in NotoReceivers

parent 7796de79
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
	Polarization="L R"
	DefaultLO="42850.0 42850.0"
	LOMultiplier="2 2"
	FixedLO2="10500.0 10500.0"
	FixedLO2="-10500.0 -10500.0"
	LOMin="38800.0 38800.0"
	LOMax="43400.0 43400.0"
/>
+22 −0
Original line number Diff line number Diff line
@@ -16,6 +16,18 @@
</body>	
</Procedure>

<Procedure name="setupMMC" args="0">
<body>
	antennaSetup=SEC
	initialize=MMC
	receiversSetup=MMC
	device=0
	calOff
	setAttenuation=0,0
	setAttenuation=1,4	
</body>
</Procedure>

<Procedure name="setupKKC" args="0">
<body>
	antennaSetup=SEC
@@ -36,6 +48,16 @@
</body>
</Procedure>

<Procedure name="setupSXP" args="0">
<body>
	antennaSetup=PRIM
	initialize=SXP
	receiversSetup=SXP
	device=0
	calOff
</body>
</Procedure>

<Procedure name="telescopePark" args="0">
<body>
	goTo=180d,90d
+1 −1
Original line number Diff line number Diff line
@@ -284,7 +284,7 @@ void CComponentCore::setLO(const ACS::doubleSeq& lo) throw (ComponentErrors::Val
        throw impl;
    }
    //computes the synthesizer settings
    trueValue=(lo[0]/(double)m_configuration.getLOMultiplier()[0])+m_configuration.getFixedLO2()[0];
    trueValue=(lo[0]+m_configuration.getFixedLO2()[0])/(double)m_configuration.getLOMultiplier()[0];
    size=m_configuration.getSynthesizerTable(freq,power);
    amp=round(linearFit(freq,power,size,trueValue));
    if (power) delete [] power;