Example #1
0
 def get_file_path(self, prepath, machine, shot_number):
     signal_dirname = self.get_path(machine)
     dirname = os.path.join(prepath, machine.name, signal_dirname)
     return get_individual_shot_file(dirname,
                                     machine.name,
                                     shot_number,
                                     raw_signal=True)
Example #2
0
 def get_file_path(self, prepath, machine, shot_number):
     dirname = self.get_path(machine)
     num = self.get_channel_num(machine)
     if num is not None:
         dirname += "/channel{}".format(num)
     return get_individual_shot_file(
         prepath + '/' + machine.name + '/' + dirname + '/', shot_number)
Example #3
0
 def get_file_path(self, prepath, machine, shot_number):
     signal_dirname = self.get_path(machine)
     num = self.get_channel_num(machine)
     if num is not None:
         # TODO(KGF): deduplicate with parent class fn. Only difference:
         signal_dirname += "/channel{}".format(num)
     dirname = os.path.join(prepath, machine.name, signal_dirname)
     return get_individual_shot_file(dirname,
                                     machine.name,
                                     shot_number,
                                     raw_signal=True)
Example #4
0
 def get_file_path(self, prepath, machine, shot_number):
     dirname = self.get_path(machine)
     return get_individual_shot_file(
         prepath + '/' + machine.name + '/' + dirname + '/', shot_number)
Example #5
0
 def get_file_path(self,prepath,machine,shot_number):
     dirname = self.get_path(machine)
     return get_individual_shot_file(prepath + '/' + machine.name + '/' +dirname + '/',shot_number)
Example #6
0
 def get_file_path(self,prepath,machine,shot_number):
     dirname = self.get_path(machine)
     num = self.get_channel_num(machine)
     if num is not None:
         dirname += "/channel{}".format(num)
     return get_individual_shot_file(prepath + '/' + machine.name + '/' +dirname + '/',shot_number)
Example #7
0
 def get_save_path(self, prepath):
     return get_individual_shot_file(prepath,
                                     self.machine,
                                     self.number,
                                     ext='.npz')