示例#1
0
    def setFreqMachine(self,
                       GridFreqs,
                       DegridFreqs,
                       weights=None,
                       PSFServer=None):
        self.PSFServer = PSFServer
        # Initiaise the Frequency Machine
        self.DegridFreqs = DegridFreqs
        self.GridFreqs = GridFreqs
        self.FreqMachine = ClassFrequencyMachine.ClassFrequencyMachine(
            GridFreqs,
            DegridFreqs,
            self.DicoSMStacked["RefFreq"],
            self.GD,
            weights=weights,
            PSFServer=self.PSFServer)
        self.FreqMachine.set_Method()

        if (self.GD["Freq"]["NBand"] > 1):
            self.Coeffs = np.zeros(self.GD["WSCMS"]["NumFreqBasisFuncs"])
        else:
            self.Coeffs = np.zeros([1])

        self.Nchan = self.FreqMachine.nchan
        self.Npol = 1
    def setFreqMachine(self,
                       GridFreqs,
                       DegridFreqs,
                       weights=None,
                       PSFServer=None):
        self.PSFServer = PSFServer
        # Initiaise the Frequency Machine
        self.DegridFreqs = DegridFreqs
        self.GridFreqs = GridFreqs
        self.FreqMachine = ClassFrequencyMachine.ClassFrequencyMachine(
            GridFreqs,
            DegridFreqs,
            self.DicoSMStacked["RefFreq"],
            self.GD,
            weights=weights,
            PSFServer=self.PSFServer)
        self.FreqMachine.set_Method()

        if np.size(self.GridFreqs) > 1:
            self.Coeffs = np.zeros(self.GD["Hogbom"]["PolyFitOrder"])
        else:
            self.Coeffs = np.zeros([1])

        self.Nchan = self.FreqMachine.nchan
        self.Npol = 1
 def setFreqMachine(self,GridFreqs, DegridFreqs):
     # Initialise the Frequency Machine
     self.FreqMachine = ClassFrequencyMachine.ClassFrequencyMachine(GridFreqs, DegridFreqs, self.DicoModel["RefFreq"], self.GD)
     self.GridFreqs=GridFreqs
示例#4
0
 def setFreqMachine(self, GridFreqs, DegridFreqs):
     # Initiaise the Frequency Machine
     self.FreqMachine = ClassFrequencyMachine.ClassFrequencyMachine(
         GridFreqs, DegridFreqs, self.DicoSMStacked["RefFreq"], self.GD)
示例#5
0
 def setFreqMachine(self,GridFreqs, DegridFreqs):
     # Initiaise the Frequency Machine
     self.DegridFreqs = DegridFreqs
     self.GridFreqs = GridFreqs
     self.FreqMachine = ClassFrequencyMachine.ClassFrequencyMachine(GridFreqs, DegridFreqs, self.DicoSMStacked["RefFreq"], self.GD)
     self.FreqMachine.set_Method(mode=self.GD["Hogbom"]["FreqMode"])