code: def get_b(self):
          
  
          try:
  
              return self.b.value
  
          except AttributeError:
  
              # Transform from L,B to R.A., Dec
  
              return self.sky_coord.transform_to('galactic').b.value
docs: Get Galactic latitude (b) corresponding to the current position
  
          :return: Latitude