diff --git a/spectroscopy/code_src/plot_functions.py b/spectroscopy/code_src/plot_functions.py index 972fa5bb..58f88e71 100644 --- a/spectroscopy/code_src/plot_functions.py +++ b/spectroscopy/code_src/plot_functions.py @@ -117,7 +117,7 @@ def create_figures(df_spec, bin_factor, show_nbr_figures , save_output): ## Logarithmic or linear x-axis? all_instruments = [ list(singleobj_df.groupby('instrument'))[ii][0] for ii in range(len(list(singleobj_df.groupby('instrument')))) ] - if "IRS" in all_instruments: + if ("IRS" in all_instruments) | ("PACS" in all_instruments) | ("SPIRE" in all_instruments): LOGX = True else: LOGX = False diff --git a/spectroscopy/spectra_generator.md b/spectroscopy/spectra_generator.md index 797ee3dc..ae5b1586 100644 --- a/spectroscopy/spectra_generator.md +++ b/spectroscopy/spectra_generator.md @@ -241,7 +241,6 @@ df_spec.append(df_spec_HST) ### 2.3 ESA Archive ```python # Herschel PACS & SPIRE from ESA TAP using astroquery - herschel_radius = 1.1 herschel_download_directory = 'data/herschel' if not os.path.exists(herschel_download_directory):