Skip to content

Commit

Permalink
added fully defined signals 0D only
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Kates-Harbeck committed Dec 22, 2017
1 parent d7f26de commit c11a426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def fetch_nstx_data(signal_path,shot_num,c):
print(all_signals.values())

fully_defined_signals = {sig_name: sig for (sig_name, sig) in all_signals_restricted.items() if sig.is_defined_on_machines(all_machines)}
fully_defined_signals_0D = {sig_name: sig for (sig_name, sig) in all_signals_restricted.items() if (sig.is_defined_on_machine(jet) and sig.num_channels == 1)}
fully_defined_signals_0D = {sig_name: sig for (sig_name, sig) in all_signals_restricted.items() if ( sig.is_defined_on_machines(all_machines) and sig.num_channels == 1) }
d3d_signals = {sig_name: sig for (sig_name, sig) in all_signals_restricted.items() if sig.is_defined_on_machine(d3d)}
jet_signals = {sig_name: sig for (sig_name, sig) in all_signals_restricted.items() if sig.is_defined_on_machine(jet)}
jet_signals_0D = {sig_name: sig for (sig_name, sig) in all_signals_restricted.items() if (sig.is_defined_on_machine(jet) and sig.num_channels == 1)}
Expand Down

0 comments on commit c11a426

Please sign in to comment.