Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorbell57 committed Sep 28, 2024
1 parent fd319e4 commit 749ccf2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/eureka/S6_planet_spectra/s6_spectra.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,15 +284,15 @@ def plot_spectra(eventlabel, ecf_path=None, s5_meta=None, input_meta=None):
elif meta.y_param_basic[:12] == 'offset_order':
# Phase Curve Offset, nth order
suffix = planetSuffix+channelSuffix
meta.y_label = (f'Order {meta.y_param_basic[12:]}\nPhase Curve Offset' +
suffix)
meta.y_label = (f'Order {meta.y_param_basic[12:]}\n' +
'Phase Curve Offset' + suffix)
if meta.y_label_unit is None:
meta.y_label_unit = '($^{\\circ}$E)'
elif meta.y_param_basic[:9] == 'amp_order':
# Phase Curve Amplitude, nth order
suffix = planetSuffix+channelSuffix
meta.y_label = (f'Order {meta.y_param_basic[9:]}\nPhase Curve Amplitude' +
suffix)
meta.y_label = (f'Order {meta.y_param_basic[9:]}\n' +
'Phase Curve Amplitude' + suffix)
elif meta.y_param_basic in [f'u{i}' for i in range(1, 5)]:
# Limb darkening parameter
suffix = channelSuffix
Expand Down

0 comments on commit 749ccf2

Please sign in to comment.