Esempio n. 1
0
    def solve_nonlinear(self, params, unknowns, resids):
        """ Calculate output. """

        azimuth, elevation = computepositionspherical(self.n, params['r_e2s_B'])

        unknowns['azimuth'] = azimuth
        unknowns['elevation'] = elevation
Esempio n. 2
0
    def solve_nonlinear(self, params, unknowns, resids):
        """ Calculate output. """

        azimuth, elevation = computepositionspherical(self.n, params["r_e2s_B"])

        unknowns["azimuth"] = azimuth
        unknowns["elevation"] = elevation
Esempio n. 3
0
    def execute(self):
        azimuth, elevation = computepositionspherical(self.n, self.r_e2s_B)

        self.azimuth = azimuth
        self.elevation = elevation
Esempio n. 4
0
    def execute(self):
        azimuth, elevation = computepositionspherical(self.n, self.r_e2s_B)

        self.azimuth = azimuth
        self.elevation = elevation