예제 #1
0
 def dict_metrology_alignment_const_fname_for_type(self):
     #lst_const_types = cp.const_types_cspad # ex. ['center', 'tilt',...]
     lst_const_types = self.list_of_calib_types
     lst_of_insets = [
         '%s-%s' % (self.script, type) for type in lst_const_types
     ]  # ex. ['CSPADV1-tilt', ...]
     lst_of_const_fnames = gu.get_list_of_files_for_list_of_insets(
         fnm.path_metrology_alignment_const(), lst_of_insets)
     return dict(zip(lst_const_types, lst_of_const_fnames))
예제 #2
0
 def dict_metrology_alignment_const_fname_for_type(self) : 
     #lst_const_types = cp.const_types_cspad # ex. ['center', 'tilt',...]
     lst_const_types = self.list_of_calib_types
     lst_of_insets = ['%s-%s' % (self.script,type) for type in lst_const_types] # ex. ['CSPADV1-tilt', ...]
     lst_of_const_fnames = gu.get_list_of_files_for_list_of_insets(fnm.path_metrology_alignment_const(), lst_of_insets)
     return dict(zip(lst_const_types, lst_of_const_fnames))