packages/vaex-astro/vaex/astro/transformations.py
def add_virtual_columns_proper_motion_gal2eq(self, long_in="ra", lat_in="dec", pm_long="pm_l", pm_lat="pm_b", pm_long_out="pm_ra", pm_lat_out="pm_dec",
                                            name_prefix="__proper_motion_gal2eq",
                                            right_ascension_galactic_pole=192.85,
                                            declination_galactic_pole=27.12,
                                            propagate_uncertainties=False,
                                            radians=False):
    """Transform/rotate proper motions from galactic to equatorial coordinates.

    Inverse of :py:`add_virtual_columns_proper_motion_eq2gal`
    """
    kwargs = dict(**locals())
    kwargs.pop('self')
    kwargs['inverse'] = True
    self.add_virtual_columns_proper_motion_eq2gal(**kwargs)
def add_virtual_columns_proper_motion_gal2eq(self, long_in="ra", lat_in="dec", pm_long="pm_l", pm_lat="pm_b", pm_long_out="pm_ra", pm_lat_out="pm_dec",
                                            name_prefix="__proper_motion_gal2eq",
                                            right_ascension_galactic_pole=192.85,
                                            declination_galactic_pole=27.12,
                                            propagate_uncertainties=False,
                                            radians=False):
    """Transform/rotate proper motions from galactic to equatorial coordinates.

    Inverse of :py:`add_virtual_columns_proper_motion_eq2gal`
    """
    kwargs = dict(**locals())
    kwargs.pop('self')
    kwargs['inverse'] = True
    self.add_virtual_columns_proper_motion_eq2gal(**kwargs)
def add_virtual_columns_proper_motion_gal2eq ( self , long_in = "ra" , lat_in = "dec" , pm_long = "pm_l" , pm_lat = "pm_b" , pm_long_out = "pm_ra" , pm_lat_out = "pm_dec" , name_prefix = "__proper_motion_gal2eq" , right_ascension_galactic_pole = 192.85 , declination_galactic_pole = 27.12 , propagate_uncertainties = False , radians = False ) : kwargs = dict ( * * locals ( ) ) kwargs . pop ( 'self' ) kwargs [ 'inverse' ] = True self . add_virtual_columns_proper_motion_eq2gal ( * * kwargs )
Transform/rotate proper motions from galactic to equatorial coordinates.

    Inverse of :py:`add_virtual_columns_proper_motion_eq2gal`
Transform / rotate proper motions from galactic to equatorial coordinates .