Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enabled log-plotting for Herschel; smally typo fixes #288

Merged
merged 1 commit into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spectroscopy/code_src/plot_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion spectroscopy/spectra_generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down