blimpy/waterfall.py
def info(self):
        """ Print header information and other derived information. """

        print("\n--- File Info ---")

        for key, val in self.file_header.items():
            if key == 'src_raj':
                val = val.to_string(unit=u.hour, sep=':')
            if key == 'src_dej':
                val = val.to_string(unit=u.deg, sep=':')
            print("%16s : %32s" % (key, val))

        print("\n%16s : %32s" % ("Num ints in file", self.n_ints_in_file))
        print("%16s : %32s" % ("File shape", self.file_shape))
        print("--- Selection Info ---")
        print("%16s : %32s" % ("Data selection shape", self.selection_shape))
        print("%16s : %32s" % ("Minimum freq (MHz)", self.container.f_start))
        print("%16s : %32s" % ("Maximum freq (MHz)", self.container.f_stop))
def info(self):
        print("\n--- File Info ---")

        for key, val in self.file_header.items():
            if key == 'src_raj':
                val = val.to_string(unit=u.hour, sep=':')
            if key == 'src_dej':
                val = val.to_string(unit=u.deg, sep=':')
            print("%16s : %32s" % (key, val))

        print("\n%16s : %32s" % ("Num ints in file", self.n_ints_in_file))
        print("%16s : %32s" % ("File shape", self.file_shape))
        print("--- Selection Info ---")
        print("%16s : %32s" % ("Data selection shape", self.selection_shape))
        print("%16s : %32s" % ("Minimum freq (MHz)", self.container.f_start))
        print("%16s : %32s" % ("Maximum freq (MHz)", self.container.f_stop))
def info ( self ) : print ( "\n--- File Info ---" ) for key , val in self . file_header . items ( ) : if key == 'src_raj' : val = val . to_string ( unit = u . hour , sep = ':' ) if key == 'src_dej' : val = val . to_string ( unit = u . deg , sep = ':' ) print ( "%16s : %32s" % ( key , val ) ) print ( "\n%16s : %32s" % ( "Num ints in file" , self . n_ints_in_file ) ) print ( "%16s : %32s" % ( "File shape" , self . file_shape ) ) print ( "--- Selection Info ---" ) print ( "%16s : %32s" % ( "Data selection shape" , self . selection_shape ) ) print ( "%16s : %32s" % ( "Minimum freq (MHz)" , self . container . f_start ) ) print ( "%16s : %32s" % ( "Maximum freq (MHz)" , self . container . f_stop ) )
Print header information and other derived information.
Print header information and other derived information .