Skip to content

Commit cfc36fe

Browse files
author
Julian Kates-Harbeck
committed
option for just a single profile
1 parent 68eb287 commit cfc36fe

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

plasma/conf_parser.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@ def parameters(input_file):
9797
params['paths']['shot_files'] = [jet_carbon_wall]
9898
params['paths']['shot_files_test'] = [jet_iterlike_wall]
9999
params['paths']['use_signals_dict'] = jet_signals_1D
100+
elif params['paths']['data'] == 'jet_data_temp_profile':
101+
params['paths']['shot_files'] = [jet_carbon_wall]
102+
params['paths']['shot_files_test'] = [jet_iterlike_wall]
103+
params['paths']['use_signals_dict'] = {'etemp_profile' : etemp_profile}
104+
elif params['paths']['data'] == 'jet_data_dens_profile':
105+
params['paths']['shot_files'] = [jet_carbon_wall]
106+
params['paths']['shot_files_test'] = [jet_iterlike_wall]
107+
params['paths']['use_signals_dict'] = {'edens_profile' : edens_profile}
100108
elif params['paths']['data'] == 'jet_carbon_data':
101109
params['paths']['shot_files'] = [jet_carbon_wall]
102110
params['paths']['shot_files_test'] = []
@@ -154,6 +162,14 @@ def parameters(input_file):
154162
params['paths']['shot_files'] = [d3d_full]
155163
params['paths']['shot_files_test'] = []
156164
params['paths']['use_signals_dict'] = fully_defined_signals_0D
165+
elif params['paths']['data'] == 'd3d_data_temp_profile': #jet data but with fully defined signals
166+
params['paths']['shot_files'] = [d3d_full]
167+
params['paths']['shot_files_test'] = []
168+
params['paths']['use_signals_dict'] = {'etemp_profile' : etemp_profile}#fully_defined_signals_0D
169+
elif params['paths']['data'] == 'd3d_data_dens_profile': #jet data but with fully defined signals
170+
params['paths']['shot_files'] = [d3d_full]
171+
params['paths']['shot_files_test'] = []
172+
params['paths']['use_signals_dict'] = {'edens_profile' : edens_profile}#fully_defined_signals_0D
157173

158174
#cross-machine
159175
elif params['paths']['data'] == 'jet_to_d3d_data':

0 commit comments

Comments
 (0)