packages/vaex-astro/vaex/astro/transformations.py
def add_virtual_columns_eq2ecl(self, long_in="ra", lat_in="dec", long_out="lambda_", lat_out="beta", name_prefix="__celestial_eq2ecl", radians=False):
    """Add ecliptic coordates (long_out, lat_out) from equatorial coordinates.

    :param long_in: Name/expression for right ascension
    :param lat_in: Name/expression for declination
    :param long_out:  Output name for lambda coordinate
    :param lat_out: Output name for beta coordinate
    :param name_prefix:
    :param radians: input and output in radians (True), or degrees (False)
    :return:
    """

    self.add_virtual_columns_celestial(long_in, lat_in, long_out, lat_out, name_prefix=name_prefix, radians=radians, _matrix='eq2ecl')
def add_virtual_columns_eq2ecl(self, long_in="ra", lat_in="dec", long_out="lambda_", lat_out="beta", name_prefix="__celestial_eq2ecl", radians=False):
    """Add ecliptic coordates (long_out, lat_out) from equatorial coordinates.

    :param long_in: Name/expression for right ascension
    :param lat_in: Name/expression for declination
    :param long_out:  Output name for lambda coordinate
    :param lat_out: Output name for beta coordinate
    :param name_prefix:
    :param radians: input and output in radians (True), or degrees (False)
    :return:
    """

    self.add_virtual_columns_celestial(long_in, lat_in, long_out, lat_out, name_prefix=name_prefix, radians=radians, _matrix='eq2ecl')
Add ecliptic coordates (long_out, lat_out) from equatorial coordinates.

    :param long_in: Name/expression for right ascension
    :param lat_in: Name/expression for declination
    :param long_out:  Output name for lambda coordinate
    :param lat_out: Output name for beta coordinate
    :param name_prefix:
    :param radians: input and output in radians (True), or degrees (False)
    :return: