def get_l(self):
        """
        Get Galactic Longitude (l) corresponding to the current position

        :return: Galactic Longitude
        """

        try:

            return self.l.value

        except AttributeError:

            # Transform from L,B to R.A., Dec

            return self.sky_coord.transform_to('galactic').l.value
def get_l ( self ) : try : return self . l . value except AttributeError : return self . sky_coord . transform_to ( 'galactic' ) . l . value
Get Galactic Longitude (l) corresponding to the current position

        :return: Galactic Longitude