3.10.1.5.1.7.1.2. opengate.contrib.tps.treatmentPlanPhsSource¶
3.10.1.5.1.7.1.2.1. Classes¶
3.10.1.5.1.7.1.2.2. Module Contents¶
- class opengate.contrib.tps.treatmentPlanPhsSource.TreatmentPlanPhsSource(name, sim)[source]¶
Bases:
TreatmentPlanSource- verify_phs_files_exist(phs_dict)[source]¶
Check if all the files in the dictionary exist. Returns True if all the files exist, False otherwise If one file does not exist, the program is aborted.
- read_list_of_Phs(file_name: str, path_to_phsp='')[source]¶
Read a list of Phs from a file.
3.10.1.5.1.7.1.2. Parameters¶
- file_namestr
The name of the file to read from. File needs to have at least two columns First column is the energy in MeV which is the energy label Second column is the phase space file name
3.10.1.5.1.7.1.2. Returns¶
dictionary of Phs