Skip to content

Commit

Permalink
Added the add_simple_object method to Database for retrieving data fr…
Browse files Browse the repository at this point in the history
…om the SIMPLE Database, support for providing a spectrum array directly to the spectrum parameter of add_object
  • Loading branch information
tomasstolker committed Mar 26, 2024
1 parent 795f08e commit 153af4d
Show file tree
Hide file tree
Showing 5 changed files with 517 additions and 196 deletions.
1 change: 1 addition & 0 deletions docs/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ The following data and models are currently supported:
- `Database of Ultracool Parallaxes <http://www.as.utexas.edu/~tdupuy/plx/Database_of_Ultracool_Parallaxes.html>`_
- Photometry from `S. Leggett <http://www.gemini.edu/staff/sleggett>`_
- `Magnitudes, stellar properties, and other parameters of directly imaged planets and brown dwarfs <https://github.com/tomasstolker/species/blob/main/species/data/companion_data/companion_data.json>`_
- Parallaxes, photometry, and spectra from the `SIMPLE database <https://simple-bd-archive.org>`_

**Calibration**

Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
astrodbkit2 ~= 0.5.0
astropy == 5.3.3
astroquery ~= 0.4.0
corner ~= 2.2.0
Expand All @@ -20,6 +21,7 @@ scipy ~= 1.12.0
shapely ~= 2.0.0
spectres ~= 2.2.0
specutils ~= 1.13.0
SQLAlchemy ~= 2.0.0
tqdm ~= 4.66.0
typeguard ~= 4.1.0
ultranest ~= 4.1.0
Expand Down
7 changes: 2 additions & 5 deletions species/core/species_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,8 @@ def __init__(self) -> None:
file_obj.write("; Folder where data will be downloaded\n")
file_obj.write("data_folder = ./data/\n\n")

# file_obj.write("; Method for the grid interpolation\n")
# file_obj.write(
# "; Options: linear, nearest, slinear, " "cubic, quintic, pchip\n"
# )
# file_obj.write("interp_method = linear\n")
file_obj.write("; Magnitude of Vega for all filters\n")
file_obj.write("vega_mag = 0.03\n")

print(" [DONE]")

Expand Down
Loading

0 comments on commit 153af4d

Please sign in to comment.