#NEWLINE# def get_header( self , file_version = 1.2 ) : #NEWLINE# #INDENT# 'Return the header object, or create one if absent.' #NEWLINE# try : #NEWLINE# #INDENT# return self . header #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# self . header = laspy . header . HeaderManager ( header = laspy . header . Header ( file_version ) , reader = self ) #NEWLINE# return file_version . header