Exemplo 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
Exemplo 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
Exemplo n.º 3
0
    def execute(self):
        azimuth, elevation = computepositionspherical(self.n, self.r_e2s_B)

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

        self.azimuth = azimuth
        self.elevation = elevation