nclt2ros/transformer/coordinate_frame.py
def calc_radius_ns(self):
        """calculates the approximation of the earths radius in north-south direction

        :return: radius_ns: value of radius in meter
        """

        numerator = math.pow(self.earth_equat_radius*self.earth_polar_radius, 2)
        val1 = math.pow(self.earth_equat_radius * math.cos(np.deg2rad(self.lat_origin)), 2)
        val2 = math.pow(self.earth_polar_radius * math.sin(np.deg2rad(self.lat_origin)), 2)
        denominator = math.pow(val1 + val2, 1.5)
        radius_ns = numerator / denominator

        return radius_ns
calculates the approximation of the earths radius in north-south direction

        :return: radius_ns: value of radius in meter
        
calculates the approximation of the earths radius in north-south direction
calculates the approximation of the earths radius in north - south direction
def calc_radius_ns(self):
        numerator = math.pow(self.earth_equat_radius*self.earth_polar_radius, 2)
        val1 = math.pow(self.earth_equat_radius * math.cos(np.deg2rad(self.lat_origin)), 2)
        val2 = math.pow(self.earth_polar_radius * math.sin(np.deg2rad(self.lat_origin)), 2)
        denominator = math.pow(val1 + val2, 1.5)
        radius_ns = numerator / denominator
        return radius_ns
def calc_radius_ns ( self ) : numerator = math . pow ( self . earth_equat_radius * self . earth_polar_radius , 2 ) val1 = math . pow ( self . earth_equat_radius * math . cos ( np . deg2rad ( self . lat_origin ) ) , 2 ) val2 = math . pow ( self . earth_polar_radius * math . sin ( np . deg2rad ( self . lat_origin ) ) , 2 ) denominator = math . pow ( val1 + val2 , 1.5 ) radius_ns = numerator / denominator return radius_ns
calculates the approximation of the earths radius in north-south direction
calculates the approximation of the earths radius in north - south direction
"""calculates the approximation of the earths radius in north-south direction

        :return: radius_ns: value of radius in meter
        """
value of radius in meter
value of radius in meter
self