BASTA 1.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- basta-1.5.0/.dir-locals.el +1 -0
- basta-1.5.0/.gitignore +126 -0
- basta-1.5.0/.pre-commit-config.yaml +16 -0
- basta-1.5.0/.readthedocs.yaml +22 -0
- basta-1.5.0/LICENSE +21 -0
- basta-1.5.0/PKG-INFO +153 -0
- basta-1.5.0/README.md +99 -0
- basta-1.5.0/docs/Makefile +20 -0
- basta-1.5.0/docs/basta_crop_low-res.png +0 -0
- basta-1.5.0/docs/conf.py +124 -0
- basta-1.5.0/docs/contributing.rst +128 -0
- basta-1.5.0/docs/controls.rst +33 -0
- basta-1.5.0/docs/controls_fit.rst +299 -0
- basta-1.5.0/docs/controls_intpol.rst +146 -0
- basta-1.5.0/docs/controls_io.rst +133 -0
- basta-1.5.0/docs/controls_outplots.rst +155 -0
- basta-1.5.0/docs/controls_parameters.rst +34 -0
- basta-1.5.0/docs/examples.rst +36 -0
- basta-1.5.0/docs/examples_freqs.rst +345 -0
- basta-1.5.0/docs/examples_global.rst +127 -0
- basta-1.5.0/docs/examples_interpolation.rst +173 -0
- basta-1.5.0/docs/examples_isochrones.rst +223 -0
- basta-1.5.0/docs/figures/distance/11129442_corner.png +0 -0
- basta-1.5.0/docs/figures/distance/11129442_distance_corner.png +0 -0
- basta-1.5.0/docs/figures/distance/11129442_kiel.png +0 -0
- basta-1.5.0/docs/figures/epsilon/16CygA_corner.png +0 -0
- basta-1.5.0/docs/figures/epsilon/16CygA_dupechelle.png +0 -0
- basta-1.5.0/docs/figures/epsilon/16CygA_dupechelle_uncorrected.png +0 -0
- basta-1.5.0/docs/figures/epsilon/16CygA_echelle.png +0 -0
- basta-1.5.0/docs/figures/epsilon/16CygA_echelle_uncorrected.png +0 -0
- basta-1.5.0/docs/figures/epsilon/16CygA_epsdiff_e012.png +0 -0
- basta-1.5.0/docs/figures/epsilon/16CygA_epsdiff_e012_cormap.png +0 -0
- basta-1.5.0/docs/figures/epsilon/16CygA_kiel.png +0 -0
- basta-1.5.0/docs/figures/epsilon/16CygA_pairechelle.png +0 -0
- basta-1.5.0/docs/figures/epsilon/16CygA_pairechelle_uncorrected.png +0 -0
- basta-1.5.0/docs/figures/epsilon/16CygA_ratios_r012.png +0 -0
- basta-1.5.0/docs/figures/epsilon/16CygA_ratios_r012_cormap.png +0 -0
- basta-1.5.0/docs/figures/freqs/16CygA_corner.png +0 -0
- basta-1.5.0/docs/figures/freqs/16CygA_dupechelle.png +0 -0
- basta-1.5.0/docs/figures/freqs/16CygA_dupechelle_uncorrected.png +0 -0
- basta-1.5.0/docs/figures/freqs/16CygA_echelle.png +0 -0
- basta-1.5.0/docs/figures/freqs/16CygA_echelle_uncorrected.png +0 -0
- basta-1.5.0/docs/figures/freqs/16CygA_kiel.png +0 -0
- basta-1.5.0/docs/figures/freqs/16CygA_pairechelle.png +0 -0
- basta-1.5.0/docs/figures/freqs/16CygA_pairechelle_uncorrected.png +0 -0
- basta-1.5.0/docs/figures/glitches/16CygA_corner.png +0 -0
- basta-1.5.0/docs/figures/glitches/16CygA_dupechelle.png +0 -0
- basta-1.5.0/docs/figures/glitches/16CygA_dupechelle_uncorrected.png +0 -0
- basta-1.5.0/docs/figures/glitches/16CygA_echelle.png +0 -0
- basta-1.5.0/docs/figures/glitches/16CygA_echelle_uncorrected.png +0 -0
- basta-1.5.0/docs/figures/glitches/16CygA_glitches_gr012.png +0 -0
- basta-1.5.0/docs/figures/glitches/16CygA_glitches_gr012_cormap.png +0 -0
- basta-1.5.0/docs/figures/glitches/16CygA_kiel.png +0 -0
- basta-1.5.0/docs/figures/glitches/16CygA_pairechelle.png +0 -0
- basta-1.5.0/docs/figures/glitches/16CygA_pairechelle_uncorrected.png +0 -0
- basta-1.5.0/docs/figures/glitches/16CygA_ratios_r012.png +0 -0
- basta-1.5.0/docs/figures/global/16CygA_corner.png +0 -0
- basta-1.5.0/docs/figures/global/16CygA_kiel.png +0 -0
- basta-1.5.0/docs/figures/interp_MS/16CygA_corner.png +0 -0
- basta-1.5.0/docs/figures/interp_MS/16CygA_dupechelle.png +0 -0
- basta-1.5.0/docs/figures/interp_MS/16CygA_dupechelle_uncorrected.png +0 -0
- basta-1.5.0/docs/figures/interp_MS/16CygA_echelle.png +0 -0
- basta-1.5.0/docs/figures/interp_MS/16CygA_echelle_uncorrected.png +0 -0
- basta-1.5.0/docs/figures/interp_MS/16CygA_kiel.png +0 -0
- basta-1.5.0/docs/figures/interp_MS/16CygA_pairechelle.png +0 -0
- basta-1.5.0/docs/figures/interp_MS/16CygA_pairechelle_uncorrected.png +0 -0
- basta-1.5.0/docs/figures/interp_MS/intpol_example_16CygA_intpolbase.png +0 -0
- basta-1.5.0/docs/figures/json/16CygA_corner.png +0 -0
- basta-1.5.0/docs/figures/json/16CygA_kiel.png +0 -0
- basta-1.5.0/docs/figures/parallax/11129442_corner.png +0 -0
- basta-1.5.0/docs/figures/parallax/11129442_distance_corner.png +0 -0
- basta-1.5.0/docs/figures/parallax/11129442_kiel.png +0 -0
- basta-1.5.0/docs/figures/phase/11129442_corner.png +0 -0
- basta-1.5.0/docs/figures/phase/11129442_kiel.png +0 -0
- basta-1.5.0/docs/figures/preview_interp_MS/16CygA_interp_preview_across_resolution.png +0 -0
- basta-1.5.0/docs/figures/preview_interp_MS/16CygA_interp_preview_along_resolution.png +0 -0
- basta-1.5.0/docs/figures/ratios/16CygA_corner.png +0 -0
- basta-1.5.0/docs/figures/ratios/16CygA_kiel.png +0 -0
- basta-1.5.0/docs/figures/ratios/16CygA_ratios_r012.png +0 -0
- basta-1.5.0/docs/figures/ratios/16CygA_ratios_r012_cormap.png +0 -0
- basta-1.5.0/docs/figures/subgiant/Valid_245_corner.png +0 -0
- basta-1.5.0/docs/figures/subgiant/Valid_245_dupechelle.png +0 -0
- basta-1.5.0/docs/figures/subgiant/Valid_245_dupechelle_uncorrected.png +0 -0
- basta-1.5.0/docs/figures/subgiant/Valid_245_echelle.png +0 -0
- basta-1.5.0/docs/figures/subgiant/Valid_245_echelle_uncorrected.png +0 -0
- basta-1.5.0/docs/figures/subgiant/Valid_245_kiel.png +0 -0
- basta-1.5.0/docs/figures/subgiant/Valid_245_pairechelle.png +0 -0
- basta-1.5.0/docs/figures/subgiant/Valid_245_pairechelle_uncorrected.png +0 -0
- basta-1.5.0/docs/grids.rst +36 -0
- basta-1.5.0/docs/index.rst +77 -0
- basta-1.5.0/docs/install.rst +174 -0
- basta-1.5.0/docs/make.bat +36 -0
- basta-1.5.0/docs/methods.rst +22 -0
- basta-1.5.0/docs/methods_freqs.rst +25 -0
- basta-1.5.0/docs/methods_general.rst +10 -0
- basta-1.5.0/docs/methods_intpol.rst +4 -0
- basta-1.5.0/docs/methods_stats.rst +19 -0
- basta-1.5.0/docs/methods_surfind.rst +12 -0
- basta-1.5.0/docs/param_classic.csv +67 -0
- basta-1.5.0/docs/param_filters.csv +110 -0
- basta-1.5.0/docs/prepare_doc_figures.py +42 -0
- basta-1.5.0/docs/prepare_param_table.py +91 -0
- basta-1.5.0/docs/requirements.txt +3 -0
- basta-1.5.0/docs/running.rst +126 -0
- basta-1.5.0/docs/source_auxilfuncs.rst +34 -0
- basta-1.5.0/docs/source_code.rst +17 -0
- basta-1.5.0/docs/source_fileiofuncs.rst +13 -0
- basta-1.5.0/docs/source_mainfuncs.rst +45 -0
- basta-1.5.0/docs/source_utilfuncs.rst +16 -0
- basta-1.5.0/docs/troubleshoot.rst +67 -0
- basta-1.5.0/examples/create_inputfile.py +519 -0
- basta-1.5.0/examples/data/16CygA.ascii +2 -0
- basta-1.5.0/examples/data/Kepler_RGB.ascii +2 -0
- basta-1.5.0/examples/data/Kepler_RGB_change-phase-to-RC.ascii +2 -0
- basta-1.5.0/examples/data/freqs/16CygA.fre +54 -0
- basta-1.5.0/examples/data/freqs/16CygA.glh +1003 -0
- basta-1.5.0/examples/data/freqs/16CygA.xml +269 -0
- basta-1.5.0/examples/data/freqs/Valid_245.fre +37 -0
- basta-1.5.0/examples/data/freqs/Valid_245.xml +184 -0
- basta-1.5.0/examples/data/subgiant.ascii +2 -0
- basta-1.5.0/examples/preview_interpolation.py +564 -0
- basta-1.5.0/examples/process_jsonfile.py +208 -0
- basta-1.5.0/examples/reference/distance/11129442_corner.pdf +0 -0
- basta-1.5.0/examples/reference/distance/11129442_distance_corner.pdf +0 -0
- basta-1.5.0/examples/reference/distance/11129442_kiel.pdf +0 -0
- basta-1.5.0/examples/reference/epsilon/16CygA_corner.pdf +0 -0
- basta-1.5.0/examples/reference/epsilon/16CygA_dupechelle.pdf +0 -0
- basta-1.5.0/examples/reference/epsilon/16CygA_dupechelle_uncorrected.pdf +0 -0
- basta-1.5.0/examples/reference/epsilon/16CygA_echelle.pdf +0 -0
- basta-1.5.0/examples/reference/epsilon/16CygA_echelle_uncorrected.pdf +0 -0
- basta-1.5.0/examples/reference/epsilon/16CygA_epsdiff_e012.pdf +0 -0
- basta-1.5.0/examples/reference/epsilon/16CygA_epsdiff_e012_cormap.pdf +0 -0
- basta-1.5.0/examples/reference/epsilon/16CygA_kiel.pdf +0 -0
- basta-1.5.0/examples/reference/epsilon/16CygA_pairechelle.pdf +0 -0
- basta-1.5.0/examples/reference/epsilon/16CygA_pairechelle_uncorrected.pdf +0 -0
- basta-1.5.0/examples/reference/epsilon/16CygA_ratios_r012.pdf +0 -0
- basta-1.5.0/examples/reference/epsilon/16CygA_ratios_r012_cormap.pdf +0 -0
- basta-1.5.0/examples/reference/freqs/16CygA_corner.pdf +0 -0
- basta-1.5.0/examples/reference/freqs/16CygA_dupechelle.pdf +0 -0
- basta-1.5.0/examples/reference/freqs/16CygA_dupechelle_uncorrected.pdf +0 -0
- basta-1.5.0/examples/reference/freqs/16CygA_echelle.pdf +0 -0
- basta-1.5.0/examples/reference/freqs/16CygA_echelle_uncorrected.pdf +0 -0
- basta-1.5.0/examples/reference/freqs/16CygA_kiel.pdf +0 -0
- basta-1.5.0/examples/reference/freqs/16CygA_pairechelle.pdf +0 -0
- basta-1.5.0/examples/reference/freqs/16CygA_pairechelle_uncorrected.pdf +0 -0
- basta-1.5.0/examples/reference/glitches/16CygA_corner.pdf +0 -0
- basta-1.5.0/examples/reference/glitches/16CygA_dupechelle.pdf +0 -0
- basta-1.5.0/examples/reference/glitches/16CygA_dupechelle_uncorrected.pdf +0 -0
- basta-1.5.0/examples/reference/glitches/16CygA_echelle.pdf +0 -0
- basta-1.5.0/examples/reference/glitches/16CygA_echelle_uncorrected.pdf +0 -0
- basta-1.5.0/examples/reference/glitches/16CygA_kiel.pdf +0 -0
- basta-1.5.0/examples/reference/glitches/16CygA_pairechelle.pdf +0 -0
- basta-1.5.0/examples/reference/glitches/16CygA_pairechelle_uncorrected.pdf +0 -0
- basta-1.5.0/examples/reference/global/16CygA_corner.pdf +0 -0
- basta-1.5.0/examples/reference/global/16CygA_kiel.pdf +0 -0
- basta-1.5.0/examples/reference/interp_MS/16CygA_corner.pdf +0 -0
- basta-1.5.0/examples/reference/interp_MS/16CygA_dupechelle.pdf +0 -0
- basta-1.5.0/examples/reference/interp_MS/16CygA_dupechelle_uncorrected.pdf +0 -0
- basta-1.5.0/examples/reference/interp_MS/16CygA_echelle.pdf +0 -0
- basta-1.5.0/examples/reference/interp_MS/16CygA_echelle_uncorrected.pdf +0 -0
- basta-1.5.0/examples/reference/interp_MS/16CygA_kiel.pdf +0 -0
- basta-1.5.0/examples/reference/interp_MS/16CygA_pairechelle.pdf +0 -0
- basta-1.5.0/examples/reference/interp_MS/16CygA_pairechelle_uncorrected.pdf +0 -0
- basta-1.5.0/examples/reference/interp_MS/intpol_example_16CygA_intpolbase.pdf +0 -0
- basta-1.5.0/examples/reference/json/16CygA.json +1 -0
- basta-1.5.0/examples/reference/json/16CygA_corner.pdf +0 -0
- basta-1.5.0/examples/reference/json/16CygA_kiel.pdf +0 -0
- basta-1.5.0/examples/reference/parallax/11129442_corner.pdf +0 -0
- basta-1.5.0/examples/reference/parallax/11129442_distance_corner.pdf +0 -0
- basta-1.5.0/examples/reference/parallax/11129442_kiel.pdf +0 -0
- basta-1.5.0/examples/reference/phase/11129442_corner.pdf +0 -0
- basta-1.5.0/examples/reference/phase/11129442_kiel.pdf +0 -0
- basta-1.5.0/examples/reference/preview_interp_MS/16CygA_interp_preview_across_resolution.pdf +0 -0
- basta-1.5.0/examples/reference/preview_interp_MS/16CygA_interp_preview_along_resolution.pdf +0 -0
- basta-1.5.0/examples/reference/ratios/16CygA_corner.pdf +0 -0
- basta-1.5.0/examples/reference/ratios/16CygA_kiel.pdf +0 -0
- basta-1.5.0/examples/reference/ratios/16CygA_ratios_r012.pdf +0 -0
- basta-1.5.0/examples/reference/ratios/16CygA_ratios_r012_cormap.pdf +0 -0
- basta-1.5.0/examples/reference/subgiant/Valid_245_corner.pdf +0 -0
- basta-1.5.0/examples/reference/subgiant/Valid_245_dupechelle.pdf +0 -0
- basta-1.5.0/examples/reference/subgiant/Valid_245_dupechelle_uncorrected.pdf +0 -0
- basta-1.5.0/examples/reference/subgiant/Valid_245_echelle.pdf +0 -0
- basta-1.5.0/examples/reference/subgiant/Valid_245_echelle_uncorrected.pdf +0 -0
- basta-1.5.0/examples/reference/subgiant/Valid_245_kiel.pdf +0 -0
- basta-1.5.0/examples/reference/subgiant/Valid_245_pairechelle.pdf +0 -0
- basta-1.5.0/examples/reference/subgiant/Valid_245_pairechelle_uncorrected.pdf +0 -0
- basta-1.5.0/examples/xmlinput/create_inputfile_distance.py +537 -0
- basta-1.5.0/examples/xmlinput/create_inputfile_epsilondifference.py +529 -0
- basta-1.5.0/examples/xmlinput/create_inputfile_freqs.py +528 -0
- basta-1.5.0/examples/xmlinput/create_inputfile_glitches.py +532 -0
- basta-1.5.0/examples/xmlinput/create_inputfile_global.py +529 -0
- basta-1.5.0/examples/xmlinput/create_inputfile_interp_MS.py +530 -0
- basta-1.5.0/examples/xmlinput/create_inputfile_json.py +529 -0
- basta-1.5.0/examples/xmlinput/create_inputfile_parallax.py +537 -0
- basta-1.5.0/examples/xmlinput/create_inputfile_phase.py +538 -0
- basta-1.5.0/examples/xmlinput/create_inputfile_ratios.py +529 -0
- basta-1.5.0/examples/xmlinput/create_inputfile_subgiant.py +525 -0
- basta-1.5.0/pyproject.toml +60 -0
- basta-1.5.0/setup.cfg +21 -0
- basta-1.5.0/src/basta/__about__.py +1 -0
- basta-1.5.0/src/basta/__init__.py +0 -0
- basta-1.5.0/src/basta/bastamain.py +611 -0
- basta-1.5.0/src/basta/constants.py +571 -0
- basta-1.5.0/src/basta/distances.py +442 -0
- basta-1.5.0/src/basta/downloader.py +214 -0
- basta-1.5.0/src/basta/downloader_examples.py +153 -0
- basta-1.5.0/src/basta/fileio.py +1539 -0
- basta-1.5.0/src/basta/freq_fit.py +1151 -0
- basta-1.5.0/src/basta/glitch_fit.py +264 -0
- basta-1.5.0/src/basta/glitch_fq.f95 +876 -0
- basta-1.5.0/src/basta/glitch_sd.f95 +794 -0
- basta-1.5.0/src/basta/icov_sd.f95 +242 -0
- basta-1.5.0/src/basta/interpolation_across.py +695 -0
- basta-1.5.0/src/basta/interpolation_along.py +464 -0
- basta-1.5.0/src/basta/interpolation_combined.py +524 -0
- basta-1.5.0/src/basta/interpolation_driver.py +554 -0
- basta-1.5.0/src/basta/interpolation_helpers.py +902 -0
- basta-1.5.0/src/basta/plot_corner.py +695 -0
- basta-1.5.0/src/basta/plot_driver.py +411 -0
- basta-1.5.0/src/basta/plot_interp.py +410 -0
- basta-1.5.0/src/basta/plot_kiel.py +555 -0
- basta-1.5.0/src/basta/plot_seismic.py +1261 -0
- basta-1.5.0/src/basta/plots.mplstyle +74 -0
- basta-1.5.0/src/basta/priors.py +142 -0
- basta-1.5.0/src/basta/process_output.py +696 -0
- basta-1.5.0/src/basta/run.py +172 -0
- basta-1.5.0/src/basta/sd.f95 +73 -0
- basta-1.5.0/src/basta/stats.py +749 -0
- basta-1.5.0/src/basta/utils_distances.py +176 -0
- basta-1.5.0/src/basta/utils_examples.py +409 -0
- basta-1.5.0/src/basta/utils_general.py +688 -0
- basta-1.5.0/src/basta/utils_seismic.py +637 -0
- basta-1.5.0/src/basta/utils_xml.py +224 -0
- basta-1.5.0/src/basta/xml_create.py +415 -0
- basta-1.5.0/src/basta/xml_run.py +955 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
((python-mode . ((flycheck-flake8rc . "setup.cfg") (flycheck-pylintrc . "setup.cfg"))))
|
basta-1.5.0/.gitignore
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
# Output-folders
|
|
2
|
+
output*/
|
|
3
|
+
examples/output*/
|
|
4
|
+
|
|
5
|
+
# Input/output files
|
|
6
|
+
*.log
|
|
7
|
+
*.pdf
|
|
8
|
+
*.p
|
|
9
|
+
*.dat
|
|
10
|
+
*.res
|
|
11
|
+
*.out
|
|
12
|
+
*.bak
|
|
13
|
+
*.hdf5
|
|
14
|
+
*.htm
|
|
15
|
+
|
|
16
|
+
# Re-include pdf's for the documentation
|
|
17
|
+
!/examples/reference/*.pdf
|
|
18
|
+
!/examples/reference/*/*.pdf
|
|
19
|
+
|
|
20
|
+
# Documentation
|
|
21
|
+
.idea
|
|
22
|
+
docs/old
|
|
23
|
+
docs/.idea
|
|
24
|
+
examples/make_input.py
|
|
25
|
+
|
|
26
|
+
# Demo scripts
|
|
27
|
+
examples/*.xml
|
|
28
|
+
examples/*/*.xml
|
|
29
|
+
examples/grids/
|
|
30
|
+
reference_*/
|
|
31
|
+
reference_note.txt
|
|
32
|
+
|
|
33
|
+
# Editor
|
|
34
|
+
*.swp
|
|
35
|
+
.vscode/
|
|
36
|
+
|
|
37
|
+
# Folder for downloading/storing the dustmaps (and grids)
|
|
38
|
+
dustmaps/
|
|
39
|
+
_dustpath.py
|
|
40
|
+
grids/
|
|
41
|
+
_gridpath.py
|
|
42
|
+
|
|
43
|
+
# Virtual environment
|
|
44
|
+
/venv*/
|
|
45
|
+
/bastaenv/
|
|
46
|
+
|
|
47
|
+
###########
|
|
48
|
+
### Generic
|
|
49
|
+
###########
|
|
50
|
+
|
|
51
|
+
# Byte-compiled / optimized / DLL files
|
|
52
|
+
__pycache__/
|
|
53
|
+
*.py[cod]
|
|
54
|
+
*$py.class
|
|
55
|
+
|
|
56
|
+
# C extensions
|
|
57
|
+
*.so
|
|
58
|
+
|
|
59
|
+
# Distribution / packaging
|
|
60
|
+
.Python
|
|
61
|
+
env/
|
|
62
|
+
build/
|
|
63
|
+
develop-eggs/
|
|
64
|
+
dist/
|
|
65
|
+
downloads/
|
|
66
|
+
eggs/
|
|
67
|
+
.eggs/
|
|
68
|
+
lib/
|
|
69
|
+
lib64/
|
|
70
|
+
parts/
|
|
71
|
+
sdist/
|
|
72
|
+
var/
|
|
73
|
+
*.egg-info/
|
|
74
|
+
.installed.cfg
|
|
75
|
+
*.egg
|
|
76
|
+
|
|
77
|
+
# PyInstaller
|
|
78
|
+
# Usually these files are written by a python script from a template
|
|
79
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
80
|
+
*.manifest
|
|
81
|
+
*.spec
|
|
82
|
+
|
|
83
|
+
# Installer logs
|
|
84
|
+
pip-log.txt
|
|
85
|
+
pip-delete-this-directory.txt
|
|
86
|
+
|
|
87
|
+
# Unit test / coverage reports
|
|
88
|
+
htmlcov/
|
|
89
|
+
.tox/
|
|
90
|
+
.coverage
|
|
91
|
+
.coverage.*
|
|
92
|
+
.cache
|
|
93
|
+
nosetests.xml
|
|
94
|
+
coverage.xml
|
|
95
|
+
*,cover
|
|
96
|
+
.hypothesis/
|
|
97
|
+
|
|
98
|
+
# Translations
|
|
99
|
+
*.mo
|
|
100
|
+
*.pot
|
|
101
|
+
|
|
102
|
+
# Django stuff:
|
|
103
|
+
*.log
|
|
104
|
+
|
|
105
|
+
# Sphinx documentation
|
|
106
|
+
docs/_build/
|
|
107
|
+
|
|
108
|
+
# PyBuilder
|
|
109
|
+
target/
|
|
110
|
+
|
|
111
|
+
# Ipython Notebook
|
|
112
|
+
.ipynb_checkpoints
|
|
113
|
+
|
|
114
|
+
# Checkers
|
|
115
|
+
.mypy_cache
|
|
116
|
+
|
|
117
|
+
# Pyenv
|
|
118
|
+
.python-version
|
|
119
|
+
|
|
120
|
+
# Fortran/F2PY compilation
|
|
121
|
+
fort.*
|
|
122
|
+
*.dSYM
|
|
123
|
+
*.md5
|
|
124
|
+
|
|
125
|
+
# Misc
|
|
126
|
+
.DS_Store
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
+
rev: v5.0.0
|
|
4
|
+
hooks:
|
|
5
|
+
- id: trailing-whitespace
|
|
6
|
+
- id: end-of-file-fixer
|
|
7
|
+
- id: check-yaml
|
|
8
|
+
- id: check-added-large-files
|
|
9
|
+
args: [--maxkb=2000]
|
|
10
|
+
- id: check-ast
|
|
11
|
+
- id: check-merge-conflict
|
|
12
|
+
- repo: https://github.com/psf/black
|
|
13
|
+
rev: 24.10.0
|
|
14
|
+
hooks:
|
|
15
|
+
- id: black
|
|
16
|
+
exclude: venv*/|dustmaps/|grids/
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# .readthedocs.yaml
|
|
2
|
+
# Read the Docs configuration file (updated based on September 2023 migration)
|
|
3
|
+
# https://blog.readthedocs.com/migrate-configuration-v2/
|
|
4
|
+
|
|
5
|
+
# Required
|
|
6
|
+
version: 2
|
|
7
|
+
|
|
8
|
+
# Set the version of Python and other tools you might need
|
|
9
|
+
build:
|
|
10
|
+
os: ubuntu-22.04
|
|
11
|
+
tools:
|
|
12
|
+
python: "3.12"
|
|
13
|
+
|
|
14
|
+
# Build documentation in the docs/ directory with Sphinx
|
|
15
|
+
sphinx:
|
|
16
|
+
configuration: docs/conf.py
|
|
17
|
+
|
|
18
|
+
# Specified dependencies
|
|
19
|
+
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
|
|
20
|
+
python:
|
|
21
|
+
install:
|
|
22
|
+
- requirements: docs/requirements.txt
|
basta-1.5.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 The BASTA development team
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
basta-1.5.0/PKG-INFO
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: BASTA
|
|
3
|
+
Version: 1.5.0
|
|
4
|
+
Summary: The BAyesian STellar Algorithm
|
|
5
|
+
Project-URL: Homepage, https://github.com/BASTAcode/BASTA
|
|
6
|
+
Project-URL: Documentation, https://basta.readthedocs.io
|
|
7
|
+
Project-URL: Issues, https://github.com/BASTAcode/BASTA/issues
|
|
8
|
+
Project-URL: Repository, https://github.com/BASTAcode/BASTA.git
|
|
9
|
+
Author-email: The BASTA Team <jakob@phys.au.dk>
|
|
10
|
+
Maintainer-email: Jakob Lysgaard Rørsted <jakob@phys.au.dk>
|
|
11
|
+
License: MIT License
|
|
12
|
+
|
|
13
|
+
Copyright (c) 2024 The BASTA development team
|
|
14
|
+
|
|
15
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
16
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
17
|
+
in the Software without restriction, including without limitation the rights
|
|
18
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
19
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
20
|
+
furnished to do so, subject to the following conditions:
|
|
21
|
+
|
|
22
|
+
The above copyright notice and this permission notice shall be included in all
|
|
23
|
+
copies or substantial portions of the Software.
|
|
24
|
+
|
|
25
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
26
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
27
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
28
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
29
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
30
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
31
|
+
SOFTWARE.
|
|
32
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
33
|
+
Classifier: Intended Audience :: Science/Research
|
|
34
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
35
|
+
Classifier: Programming Language :: Python :: 3
|
|
36
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
37
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
38
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
39
|
+
Classifier: Topic :: Scientific/Engineering :: Astronomy
|
|
40
|
+
Requires-Python: >=3.10
|
|
41
|
+
Requires-Dist: astropy>=6.1.4
|
|
42
|
+
Requires-Dist: black>=24.10.0
|
|
43
|
+
Requires-Dist: bottleneck>=1.4.2
|
|
44
|
+
Requires-Dist: dustmaps>=1.0.13
|
|
45
|
+
Requires-Dist: h5py>=3.12.1
|
|
46
|
+
Requires-Dist: healpy>=1.18.0
|
|
47
|
+
Requires-Dist: matplotlib>=3.9.2
|
|
48
|
+
Requires-Dist: numpy>=2.1.3
|
|
49
|
+
Requires-Dist: pre-commit>=4.0.1
|
|
50
|
+
Requires-Dist: scikit-learn>=1.5.2
|
|
51
|
+
Requires-Dist: scipy>=1.14.1
|
|
52
|
+
Requires-Dist: tqdm>=4.67.0
|
|
53
|
+
Description-Content-Type: text/markdown
|
|
54
|
+
|
|
55
|
+
# BASTA: The BAyesian STellar Algorithm
|
|
56
|
+
|
|
57
|
+
[](https://github.com/psf/black)
|
|
58
|
+
[](https://opensource.org/licenses/MIT)
|
|
59
|
+
[](https://basta.readthedocs.io/en/latest/?badge=latest)
|
|
60
|
+
[](https://arxiv.org/abs/2109.14622)
|
|
61
|
+
[](https://ui.adsabs.harvard.edu/abs/2022MNRAS.509.4344A/abstract)
|
|
62
|
+
[](https://doi.org/10.1093/mnras/stab2911)
|
|
63
|
+
|
|
64
|
+
Current stable version: v1.5.0
|
|
65
|
+
|
|
66
|
+
**Important note:** BASTA is currently developed for Python 3.12, but Python >= 3.10 should suffice.
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
## Before you begin
|
|
70
|
+
|
|
71
|
+
*Please follow the repository on GitHub to get notifications on new releases: Click "Watch" then "Custom" and tick "Releases.*
|
|
72
|
+
|
|
73
|
+
Please have a look at [our documentation](https://basta.readthedocs.io/en/latest/index.html#).
|
|
74
|
+
|
|
75
|
+
There we have written a guide [guide to installing BASTA](https://basta.readthedocs.io/en/latest/install.html).
|
|
76
|
+
|
|
77
|
+
On there, you will also find an [introduction to running BASTA](https://basta.readthedocs.io/en/latest/running.html).
|
|
78
|
+
|
|
79
|
+
If you are curious on what BASTA can do, we have created several [fitting examples](https://basta.readthedocs.io/en/latest/examples.html) and the exact code to run them available.
|
|
80
|
+
|
|
81
|
+
If you have any questions, or encounter any issues, feel free to write to us through the [discussions page](https://github.com/orgs/BASTAcode/discussions).
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
## Quick start guide
|
|
85
|
+
|
|
86
|
+
BASTA can be obtained from GitHub or from the Python Package Index (PyPI); the full details are given in the documentation.
|
|
87
|
+
|
|
88
|
+
*We strongly recommend to create a fresh virtual environment to install BASTA in!*
|
|
89
|
+
|
|
90
|
+
With the virtual environment activated:
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
pip install basta
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
To make the code ready to run you need to download some additional assets: a grid of stellar models and the dustmaps. To complete the setup of the code and download the grid used in most of our examples run the following (feel free to change the paths as you like):
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
mkdir -p ~/BASTA/grids
|
|
100
|
+
mkdir -p ~/BASTA/dust
|
|
101
|
+
BASTAdownload --gridpath ~/BASTA/grids --dustpath ~/BASTA/dust 16CygA
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Finally, to obtain the full suite of examples run:
|
|
105
|
+
|
|
106
|
+
```
|
|
107
|
+
cd ~/BASTA
|
|
108
|
+
BASTAexamples full
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Congratulations! You now have a fully functional installation of BASTA! We strongly recommend looking at the documentation for information on how to use the code.
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
## References and acknowledgments
|
|
118
|
+
|
|
119
|
+
There are two papers containing the rationale, main features, and capabilities of the code:
|
|
120
|
+
|
|
121
|
+
* [The BASTA paper I](https://ui.adsabs.harvard.edu/abs/2015MNRAS.452.2127S/abstract).
|
|
122
|
+
* [The BASTA paper II](https://ui.adsabs.harvard.edu/abs/2022MNRAS.509.4344A/abstract).
|
|
123
|
+
|
|
124
|
+
Please cite these references if you use BASTA in your work, and include the link to the code's repository `https://github.com/BASTAcode/BASTA`.
|
|
125
|
+
|
|
126
|
+
Due to its versatility, BASTA is used in a large variety of studies requiring robust determination of fundamental stellar properties. We have compiled a (non-exhaustive) [list of papers using BASTA results](https://ui.adsabs.harvard.edu/public-libraries/x2tCt52HR_yqG-oaUabo_A) that showcases these applications. If your paper using BASTA results is missing from the list please contact us.
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
## Authors
|
|
130
|
+
|
|
131
|
+
The current core developing team members are:
|
|
132
|
+
|
|
133
|
+
* Jakob Lysgaard Rørsted (maintainer)
|
|
134
|
+
* Mark Lykke Winther (co-maintainer)
|
|
135
|
+
* Amalie Stokholm (co-maintainer)
|
|
136
|
+
* Kuldeep Verma
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
The original author of the code is:
|
|
140
|
+
|
|
141
|
+
* Víctor Aguirre Børsen-Koch
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
Throughout the years, many people have contributed to the addition and development of various parts and modules of BASTA. We welcome further contributions from the community as well as issues reporting. Please look at the [contribution section](https://basta.readthedocs.io/en/latest/contributing.html) in the documentation for further details.
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
## Listings
|
|
148
|
+
|
|
149
|
+
In addition to the shields/icons in the top, BASTA can be found in the following software listings/catalogues:
|
|
150
|
+
|
|
151
|
+
* Astrophysics Source Code Library / [ASCL](https://ascl.net/2110.010)
|
|
152
|
+
* Exoplanet Modeling and Analysis Center / [EMAC](https://emac.gsfc.nasa.gov#bbcded4b-27d8-49f5-be4d-76e1fec748eb)
|
|
153
|
+
* The Python Package Index / [PyPI](https://pypi.org/project/basta/)
|
basta-1.5.0/README.md
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# BASTA: The BAyesian STellar Algorithm
|
|
2
|
+
|
|
3
|
+
[](https://github.com/psf/black)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
[](https://basta.readthedocs.io/en/latest/?badge=latest)
|
|
6
|
+
[](https://arxiv.org/abs/2109.14622)
|
|
7
|
+
[](https://ui.adsabs.harvard.edu/abs/2022MNRAS.509.4344A/abstract)
|
|
8
|
+
[](https://doi.org/10.1093/mnras/stab2911)
|
|
9
|
+
|
|
10
|
+
Current stable version: v1.5.0
|
|
11
|
+
|
|
12
|
+
**Important note:** BASTA is currently developed for Python 3.12, but Python >= 3.10 should suffice.
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## Before you begin
|
|
16
|
+
|
|
17
|
+
*Please follow the repository on GitHub to get notifications on new releases: Click "Watch" then "Custom" and tick "Releases.*
|
|
18
|
+
|
|
19
|
+
Please have a look at [our documentation](https://basta.readthedocs.io/en/latest/index.html#).
|
|
20
|
+
|
|
21
|
+
There we have written a guide [guide to installing BASTA](https://basta.readthedocs.io/en/latest/install.html).
|
|
22
|
+
|
|
23
|
+
On there, you will also find an [introduction to running BASTA](https://basta.readthedocs.io/en/latest/running.html).
|
|
24
|
+
|
|
25
|
+
If you are curious on what BASTA can do, we have created several [fitting examples](https://basta.readthedocs.io/en/latest/examples.html) and the exact code to run them available.
|
|
26
|
+
|
|
27
|
+
If you have any questions, or encounter any issues, feel free to write to us through the [discussions page](https://github.com/orgs/BASTAcode/discussions).
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## Quick start guide
|
|
31
|
+
|
|
32
|
+
BASTA can be obtained from GitHub or from the Python Package Index (PyPI); the full details are given in the documentation.
|
|
33
|
+
|
|
34
|
+
*We strongly recommend to create a fresh virtual environment to install BASTA in!*
|
|
35
|
+
|
|
36
|
+
With the virtual environment activated:
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
pip install basta
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
To make the code ready to run you need to download some additional assets: a grid of stellar models and the dustmaps. To complete the setup of the code and download the grid used in most of our examples run the following (feel free to change the paths as you like):
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
mkdir -p ~/BASTA/grids
|
|
46
|
+
mkdir -p ~/BASTA/dust
|
|
47
|
+
BASTAdownload --gridpath ~/BASTA/grids --dustpath ~/BASTA/dust 16CygA
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Finally, to obtain the full suite of examples run:
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
cd ~/BASTA
|
|
54
|
+
BASTAexamples full
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Congratulations! You now have a fully functional installation of BASTA! We strongly recommend looking at the documentation for information on how to use the code.
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
## References and acknowledgments
|
|
64
|
+
|
|
65
|
+
There are two papers containing the rationale, main features, and capabilities of the code:
|
|
66
|
+
|
|
67
|
+
* [The BASTA paper I](https://ui.adsabs.harvard.edu/abs/2015MNRAS.452.2127S/abstract).
|
|
68
|
+
* [The BASTA paper II](https://ui.adsabs.harvard.edu/abs/2022MNRAS.509.4344A/abstract).
|
|
69
|
+
|
|
70
|
+
Please cite these references if you use BASTA in your work, and include the link to the code's repository `https://github.com/BASTAcode/BASTA`.
|
|
71
|
+
|
|
72
|
+
Due to its versatility, BASTA is used in a large variety of studies requiring robust determination of fundamental stellar properties. We have compiled a (non-exhaustive) [list of papers using BASTA results](https://ui.adsabs.harvard.edu/public-libraries/x2tCt52HR_yqG-oaUabo_A) that showcases these applications. If your paper using BASTA results is missing from the list please contact us.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
## Authors
|
|
76
|
+
|
|
77
|
+
The current core developing team members are:
|
|
78
|
+
|
|
79
|
+
* Jakob Lysgaard Rørsted (maintainer)
|
|
80
|
+
* Mark Lykke Winther (co-maintainer)
|
|
81
|
+
* Amalie Stokholm (co-maintainer)
|
|
82
|
+
* Kuldeep Verma
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
The original author of the code is:
|
|
86
|
+
|
|
87
|
+
* Víctor Aguirre Børsen-Koch
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
Throughout the years, many people have contributed to the addition and development of various parts and modules of BASTA. We welcome further contributions from the community as well as issues reporting. Please look at the [contribution section](https://basta.readthedocs.io/en/latest/contributing.html) in the documentation for further details.
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
## Listings
|
|
94
|
+
|
|
95
|
+
In addition to the shields/icons in the top, BASTA can be found in the following software listings/catalogues:
|
|
96
|
+
|
|
97
|
+
* Astrophysics Source Code Library / [ASCL](https://ascl.net/2110.010)
|
|
98
|
+
* Exoplanet Modeling and Analysis Center / [EMAC](https://emac.gsfc.nasa.gov#bbcded4b-27d8-49f5-be4d-76e1fec748eb)
|
|
99
|
+
* The Python Package Index / [PyPI](https://pypi.org/project/basta/)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Minimal makefile for Sphinx documentation
|
|
2
|
+
#
|
|
3
|
+
|
|
4
|
+
# You can set these variables from the command line.
|
|
5
|
+
SPHINXOPTS =
|
|
6
|
+
SPHINXBUILD = sphinx-build
|
|
7
|
+
SPHINXPROJ = BASTA
|
|
8
|
+
SOURCEDIR = .
|
|
9
|
+
BUILDDIR = _build
|
|
10
|
+
|
|
11
|
+
# Put it first so that "make" without argument is like "make help".
|
|
12
|
+
help:
|
|
13
|
+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
14
|
+
|
|
15
|
+
.PHONY: help Makefile
|
|
16
|
+
|
|
17
|
+
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
18
|
+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
19
|
+
%: Makefile
|
|
20
|
+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
Binary file
|
basta-1.5.0/docs/conf.py
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# Configuration file for the Sphinx documentation builder.
|
|
2
|
+
#
|
|
3
|
+
# This file only contains a selection of the most common options. For a full
|
|
4
|
+
# list see the documentation:
|
|
5
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
|
6
|
+
|
|
7
|
+
# -- Path setup --------------------------------------------------------------
|
|
8
|
+
|
|
9
|
+
# If extensions (or modules to document with autodoc) are in another directory,
|
|
10
|
+
# add these directories to sys.path here. If the directory is relative to the
|
|
11
|
+
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
|
12
|
+
#
|
|
13
|
+
import os
|
|
14
|
+
import sys
|
|
15
|
+
|
|
16
|
+
# Make the modules importable
|
|
17
|
+
sys.path.insert(0, os.path.abspath(".."))
|
|
18
|
+
sys.path.insert(0, os.path.abspath("../src/basta"))
|
|
19
|
+
sys.path.insert(0, os.path.abspath("../examples"))
|
|
20
|
+
|
|
21
|
+
# -- Project information -----------------------------------------------------
|
|
22
|
+
|
|
23
|
+
# General information about the project.
|
|
24
|
+
project = "BASTA"
|
|
25
|
+
copyright = "2024, The BASTA Team"
|
|
26
|
+
author = "The BASTA Team"
|
|
27
|
+
|
|
28
|
+
# The short X.Y version.
|
|
29
|
+
version = "1.5.0"
|
|
30
|
+
|
|
31
|
+
# The full version, including alpha/beta/rc tags.
|
|
32
|
+
release = "1.5.0"
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
# -- General configuration ------------------------------------------------
|
|
36
|
+
|
|
37
|
+
# Add any Sphinx extension module names here, as strings. They can be
|
|
38
|
+
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
|
39
|
+
# ones.
|
|
40
|
+
extensions = [
|
|
41
|
+
"sphinx.ext.autodoc",
|
|
42
|
+
"sphinx.ext.todo",
|
|
43
|
+
"sphinx.ext.mathjax",
|
|
44
|
+
"sphinx.ext.viewcode",
|
|
45
|
+
"sphinx.ext.napoleon",
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
# Napoleon (docstring reading) settings
|
|
49
|
+
napoleon_google_docstring = False
|
|
50
|
+
napoleon_use_param = False
|
|
51
|
+
napoleon_use_rtype = False
|
|
52
|
+
|
|
53
|
+
# Add any paths that contain templates here, relative to this directory.
|
|
54
|
+
templates_path = ["_templates"]
|
|
55
|
+
|
|
56
|
+
# The suffix(es) of source filenames.
|
|
57
|
+
# You can specify multiple suffix as a list of string:
|
|
58
|
+
#
|
|
59
|
+
source_suffix = ".rst"
|
|
60
|
+
|
|
61
|
+
# The master toctree document.
|
|
62
|
+
master_doc = "index"
|
|
63
|
+
|
|
64
|
+
# The language for content autogenerated by Sphinx. Refer to documentation
|
|
65
|
+
# for a list of supported languages.
|
|
66
|
+
#
|
|
67
|
+
# This is also used if you do content translation via gettext catalogs.
|
|
68
|
+
# Usually you set "language" from the command line for these cases.
|
|
69
|
+
language = "en"
|
|
70
|
+
|
|
71
|
+
# List of patterns, relative to source directory, that match files and
|
|
72
|
+
# directories to ignore when looking for source files.
|
|
73
|
+
# This patterns also effect to html_static_path and html_extra_path
|
|
74
|
+
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
|
|
75
|
+
|
|
76
|
+
# The name of the Pygments (syntax highlighting) style to use.
|
|
77
|
+
pygments_style = "sphinx"
|
|
78
|
+
|
|
79
|
+
# If true, `todo` and `todoList` produce output, else they produce nothing.
|
|
80
|
+
todo_include_todos = False
|
|
81
|
+
|
|
82
|
+
# Example configuration for intersphinx: refer to the Python standard library.
|
|
83
|
+
intersphinx_mapping = {"https://docs.python.org/3/": None}
|
|
84
|
+
|
|
85
|
+
# This value contains a list of modules to be mocked up. This is useful when some
|
|
86
|
+
# external dependencies are not met at build time and break the building process.
|
|
87
|
+
# You may only specify the root package of the dependencies themselves and omit
|
|
88
|
+
# the sub-modules:
|
|
89
|
+
autodoc_mock_imports = [
|
|
90
|
+
"astropy",
|
|
91
|
+
"bottleneck",
|
|
92
|
+
"dustmaps",
|
|
93
|
+
"h5py",
|
|
94
|
+
"healpy",
|
|
95
|
+
"matplotlib",
|
|
96
|
+
"scikit-learn",
|
|
97
|
+
"sklearn",
|
|
98
|
+
"scipy",
|
|
99
|
+
"tqdm",
|
|
100
|
+
]
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
# -- Options for HTML output ----------------------------------------------
|
|
104
|
+
|
|
105
|
+
# The theme to use for HTML and HTML Help pages. See the documentation for
|
|
106
|
+
# a list of builtin themes.
|
|
107
|
+
html_theme = "sphinx_rtd_theme"
|
|
108
|
+
|
|
109
|
+
# Add any paths that contain custom static files (such as style sheets) here,
|
|
110
|
+
# relative to this directory. They are copied after the builtin static files,
|
|
111
|
+
# so a file named "default.css" will overwrite the builtin "default.css".
|
|
112
|
+
html_static_path = ["_static"]
|
|
113
|
+
|
|
114
|
+
# Logo
|
|
115
|
+
html_logo = "basta_crop_low-res.png"
|
|
116
|
+
html_theme_options = {
|
|
117
|
+
"logo_only": True,
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
# -- Options for HTMLHelp output ------------------------------------------
|
|
122
|
+
|
|
123
|
+
# Output file base name for HTML help builder.
|
|
124
|
+
htmlhelp_basename = "BASTAdoc"
|