Beispiel #1
0
 def load_metadata(self):
     ''' read all the metadata '''
     self.filesize=os.path.getsize(self.filename)
     self.total_chunks=self.filesize/(4*3)
     counted_file_parser.open_counted_file(self.filename)
     counted_file_parser.read_metadata()
     self.scan_motors_count=3
     self.scan_label=counted_file_parser.get_scan_label()[:-1]
     self.scan_nloops=counted_file_parser.get_scan_nloops()
     self.scan_nsteps=counted_file_parser.get_scan_nsteps()
     self.scan_integration_time=counted_file_parser.get_scan_integration_time()
     self.scan_close_shutter=counted_file_parser.get_scan_close_shutter()
     self.scan_type=counted_file_parser.get_scan_type()
     self.scan_dont_move=counted_file_parser.get_scan_dont_move()
     self.scan_motor_controller=counted_file_parser.get_scan_motor_controller()
     self.scan_start_postion=counted_file_parser.get_scan_start_position()
     self.scan_stop_position=counted_file_parser.get_scan_stop_position()
Beispiel #2
0
 def load_metadata(self):
     ''' read all the metadata '''
     self.filesize=os.path.getsize(self.filename)
     self.total_chunks=self.filesize/(4*3)
     counted_file_parser.open_counted_file(self.filename)
     counted_file_parser.read_metadata()
     self.scan_motors_count=3
     self.scan_label=counted_file_parser.get_scan_label()[:-1]
     self.scan_nloops=counted_file_parser.get_scan_nloops()
     self.scan_nsteps=counted_file_parser.get_scan_nsteps()
     self.scan_integration_time=counted_file_parser.get_scan_integration_time()
     self.scan_close_shutter=counted_file_parser.get_scan_close_shutter()
     self.scan_type=counted_file_parser.get_scan_type()
     self.scan_dont_move=counted_file_parser.get_scan_dont_move()
     self.scan_motor_controller=counted_file_parser.get_scan_motor_controller()
     self.scan_start_postion=counted_file_parser.get_scan_start_position()
     self.scan_stop_position=counted_file_parser.get_scan_stop_position()
Beispiel #3
0
def get_scan_nloops():
  return _counted_file_parser.get_scan_nloops()
Beispiel #4
0
def get_scan_nloops():
    return _counted_file_parser.get_scan_nloops()