jplephem/binary_pck.py
def describe(self, verbose=True):
        """Return a textual description of the segment."""
        body = titlecase(target_names.get(self.body, 'Unknown body'))
        text = ('{0.start_jd:.2f}..{0.end_jd:.2f} frame={0.frame}'
                '  {1} ({0.body})'.format(self, body))
        if verbose:
            text += ('\n  data_type={0.data_type} source={1}'
                     .format(self, self.source.decode('ascii')))
        return text
def describe(self, verbose=True):
        """Return a textual description of the segment."""
        body = titlecase(target_names.get(self.body, 'Unknown body'))
        text = ('{0.start_jd:.2f}..{0.end_jd:.2f} frame={0.frame}'
                '  {1} ({0.body})'.format(self, body))
        if verbose:
            text += ('\n  data_type={0.data_type} source={1}'
                     .format(self, self.source.decode('ascii')))
        return text
def describe ( self , verbose = True ) : body = titlecase ( target_names . get ( self . body , 'Unknown body' ) ) text = ( '{0.start_jd:.2f}..{0.end_jd:.2f} frame={0.frame}' '  {1} ({0.body})' . format ( self , body ) ) if verbose : text += ( '\n  data_type={0.data_type} source={1}' . format ( self , self . source . decode ( 'ascii' ) ) ) return text
Return a textual description of the segment.
Return a textual description of the segment .