diff --git a/ForMoSA/__init__.py b/ForMoSA/__init__.py index fd9425a..519596c 100644 --- a/ForMoSA/__init__.py +++ b/ForMoSA/__init__.py @@ -1,5 +1,5 @@ import os -__version__ = "2.0.0" +__version__ = "1.1.0" __all__ = ['adapt', 'nested_sampling','plotting'] \ No newline at end of file diff --git a/docs/_build/doctrees/environment.pickle b/docs/_build/doctrees/environment.pickle index 5ba5bae..b84eadd 100644 Binary files a/docs/_build/doctrees/environment.pickle and b/docs/_build/doctrees/environment.pickle differ diff --git a/docs/_build/doctrees/index.doctree b/docs/_build/doctrees/index.doctree index 31ae7b7..18a4ee0 100644 Binary files a/docs/_build/doctrees/index.doctree and b/docs/_build/doctrees/index.doctree differ diff --git a/docs/_build/html/_sources/index.rst.txt b/docs/_build/html/_sources/index.rst.txt index 01814bf..cf02986 100644 --- a/docs/_build/html/_sources/index.rst.txt +++ b/docs/_build/html/_sources/index.rst.txt @@ -29,9 +29,24 @@ We encourage the community to exploit its capabilities! api.rst -Indices and tables -================== -* :ref:`genindex` -* :ref:`modindex` -* :ref:`search` +Attribution: +++++++++++++ + +Please cite `Petrus et al (2023) `_. + + + +Version Track: +++++++++++++++ + +``1.0.13`` +First version distributed, presented at `Cloud Academy 3. `_. + +``1.0.5`` +First operational release. + + +Acknowledgments: +++++++++++++++++ +Our sincere thanks to `Code/Astro `_. diff --git a/docs/_build/html/index.html b/docs/_build/html/index.html index 282960e..c8b6c4c 100644 --- a/docs/_build/html/index.html +++ b/docs/_build/html/index.html @@ -105,14 +105,21 @@

Forward Modeling Tool for Spectral Analysis +

Attribution:

+

Please cite Petrus et al (2023).

+ +
+

Version Track:

+

1.0.13 +First version distributed, presented at Cloud Academy 3..

+

1.0.5 +First operational release.

+
+
+

Acknowledgments:

+

Our sincere thanks to Code/Astro.

-
-

Indices and tables

-
diff --git a/docs/_build/html/searchindex.js b/docs/_build/html/searchindex.js index 5ea3f39..b671bb5 100644 --- a/docs/_build/html/searchindex.js +++ b/docs/_build/html/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles": {"A. Installation though PyPI": [[5, "a-installation-though-pypi"]], "Adapt Grid:": [[0, "module-ForMoSA.adapt.adapt_grid"]], "Adapt Observations and Models:": [[0, "module-ForMoSA.adapt.adapt_obs_mod"]], "Adapt the data": [[0, null]], "B. Installation though GitHub": [[5, "b-installation-though-github"]], "Contents:": [[4, null]], "Create a conda environment": [[5, "create-a-conda-environment"]], "DEMO": [[2, null]], "DEMO classic:": [[3, null]], "Extraction Functions:": [[0, "module-ForMoSA.adapt.extraction_functions"]], "For PyMultiNest users": [[5, "for-pymultinest-users"]], "ForMoSA API": [[1, null]], "Forward Modeling Tool for Spectral Analysis": [[4, null]], "Global functions:": [[6, "module-ForMoSA.main_utilities"]], "Indices and tables": [[4, "indices-and-tables"]], "Installation": [[5, null]], "Issues?": [[5, "issues"]], "Likelihood Functions:": [[7, "module-ForMoSA.nested_sampling.nested_logL_functions"]], "Main Utilities": [[6, null]], "Modify Spectra:": [[7, "module-ForMoSA.nested_sampling.nested_modif_spec"]], "Nested Main:": [[7, "module-ForMoSA.nested_sampling.nested_sampling"]], "Nested Sampling": [[7, null]], "Plotting Class": [[8, null]], "Prior Functions:": [[7, "module-ForMoSA.nested_sampling.nested_prior_function"]], "The plotting module of ForMoSA:": [[8, "module-ForMoSA.plotting.plotting_class"]]}, "docnames": ["adapt", "api", "demo", "demo_classic", "index", "installation", "main_utilities", "nested_sampling", "plotting"], "envversion": {"sphinx": 62, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1}, "filenames": ["adapt.rst", "api.rst", "demo.rst", "demo_classic.rst", "index.rst", "installation.rst", "main_utilities.rst", "nested_sampling.rst", "plotting.rst"], "indexentries": {}, "objects": {"": [[6, 0, 0, "-", "ForMoSA"]], "ForMoSA": [[6, 0, 0, "-", "main_utilities"]], "ForMoSA.adapt": [[0, 0, 0, "-", "adapt_grid"], [0, 0, 0, "-", "adapt_obs_mod"], [0, 0, 0, "-", "extraction_functions"]], "ForMoSA.adapt.adapt_grid": [[0, 1, 1, "", "adapt_grid"]], "ForMoSA.adapt.adapt_obs_mod": [[0, 1, 1, "", "launch_adapt"]], "ForMoSA.adapt.extraction_functions": [[0, 1, 1, "", "adapt_model"], [0, 1, 1, "", "adapt_observation_range"], [0, 1, 1, "", "continuum_estimate"], [0, 1, 1, "", "convolve_and_sample"], [0, 1, 1, "", "decoupe"], [0, 1, 1, "", "extract_model"], [0, 1, 1, "", "extract_observation"], [0, 1, 1, "", "find_nearest"], [0, 1, 1, "", "resolution_decreasing"]], "ForMoSA.main_utilities": [[6, 2, 1, "", "GlobFile"], [6, 1, 1, "", "diag_mat"], [6, 1, 1, "", "yesno"]], "ForMoSA.nested_sampling": [[7, 0, 0, "-", "nested_logL_functions"], [7, 0, 0, "-", "nested_modif_spec"], [7, 0, 0, "-", "nested_prior_function"], [7, 0, 0, "-", "nested_sampling"]], "ForMoSA.nested_sampling.nested_logL_functions": [[7, 1, 1, "", "logL_CCF_Brogi"], [7, 1, 1, "", "logL_CCF_Zucker"], [7, 1, 1, "", "logL_CCF_custom"], [7, 1, 1, "", "logL_chi2_classic"], [7, 1, 1, "", "logL_chi2_covariance"], [7, 1, 1, "", "logL_chi2_extended"], [7, 1, 1, "", "logL_chi2_extended_covariance"], [7, 1, 1, "", "logL_full_covariance"]], "ForMoSA.nested_sampling.nested_modif_spec": [[7, 1, 1, "", "bb_cpd_fct"], [7, 1, 1, "", "calc_ck"], [7, 1, 1, "", "doppler_fct"], [7, 1, 1, "", "lsq_fct"], [7, 1, 1, "", "modif_spec"], [7, 1, 1, "", "reddening_fct"], [7, 1, 1, "", "vsini_fct_accurate"], [7, 1, 1, "", "vsini_fct_fast_rot_broad"], [7, 1, 1, "", "vsini_fct_rot_broad"]], "ForMoSA.nested_sampling.nested_prior_function": [[7, 1, 1, "", "gaussian_prior"], [7, 1, 1, "", "uniform_prior"]], "ForMoSA.nested_sampling.nested_sampling": [[7, 1, 1, "", "import_obsmod"], [7, 1, 1, "", "launch_nested_sampling"], [7, 1, 1, "", "loglike"], [7, 1, 1, "", "prior_transform"]], "ForMoSA.plotting": [[8, 0, 0, "-", "plotting_class"]], "ForMoSA.plotting.plotting_class": [[8, 2, 1, "", "ComplexRadar"], [8, 2, 1, "", "PlottingForMoSA"], [8, 1, 1, "", "bin_data"]], "ForMoSA.plotting.plotting_class.ComplexRadar": [[8, 3, 1, "", "fill"], [8, 3, 1, "", "fill_between"], [8, 3, 1, "", "plot"], [8, 3, 1, "", "scale_data"]], "ForMoSA.plotting.plotting_class.PlottingForMoSA": [[8, 3, 1, "", "get_FULL_spectra"], [8, 3, 1, "", "plot_Clouds"], [8, 3, 1, "", "plot_HiRes_comp_model"], [8, 3, 1, "", "plot_PT"], [8, 3, 1, "", "plot_ccf"], [8, 3, 1, "", "plot_chains"], [8, 3, 1, "", "plot_corner"], [8, 3, 1, "", "plot_fit"], [8, 3, 1, "", "plot_fit_HiRes"], [8, 3, 1, "", "plot_radar"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "function", "Python function"], "2": ["py", "class", "Python class"], "3": ["py", "method", "Python method"]}, "objtypes": {"0": "py:module", "1": "py:function", "2": "py:class", "3": "py:method"}, "terms": {"": [7, 8], "0": [0, 5, 6, 7, 8], "1": [0, 5, 7, 8], "10": [5, 7, 8], "100": [7, 8], "1000": 8, "11": 5, "13": 5, "15": 8, "16": 8, "1994": 7, "2": [0, 7, 8], "2003": 7, "2008": 7, "2019": 7, "202019": 8, "2023": [5, 7], "2023rnaa": 7, "20cup": 8, "20visualis": 8, "20women": 8, "20world": 8, "23": 7, "287": 7, "3": [5, 8], "300": 8, "4": 5, "42154606": 6, "5": 8, "50": 7, "523": 7, "534": 7, "6": 8, "65415996": [], "675": 7, "68": 8, "7": [7, 8], "84": 8, "91c": 7, "95": 8, "997": 8, "A": [4, 7], "For": 4, "IN": 0, "If": [0, 5, 6, 7, 8], "In": [], "It": [0, 7, 8], "OF": 0, "The": [0, 5, 7], "Then": [0, 5, 7], "There": [2, 5], "To": 5, "a1": [], "a2": [], "a3": [], "a4": [], "ab": 7, "about": 5, "abov": 7, "abstract": 7, "accord": 7, "acf": 8, "activ": 5, "actual": 5, "adapt": [1, 4, 7, 8], "adapt_grid": 0, "adapt_model": 0, "adapt_obs_mod": 0, "adapt_observation_rang": 0, "add": [6, 7, 8], "adpat": 8, "adsab": 7, "al": 7, "align": 6, "all": [5, 6, 7, 8], "allan": [0, 7, 8], "allong": 6, "almost": 5, "alpha": 7, "also": 0, "an": [0, 4, 5, 6], "anaconda3": 5, "analyt": 7, "ani": 5, "annulu": 7, "anoth": 8, "answer": 6, "api": 4, "appl": [], "appli": [7, 8], "applic": 7, "approach": 4, "ar": [0, 2, 5, 7, 8], "arbitrari": 8, "architectur": 5, "arg": 8, "argument": 8, "arm64": 5, "arrai": [0, 6, 7, 8], "arrang": 0, "arraymatrix": 6, "associ": 8, "assumpt": 7, "astropi": 5, "asw": 6, "asymmetr": 8, "atmo": 0, "atmospher": [4, 7], "author": [0, 6, 7, 8], "auto": 8, "automat": 5, "av_pick": 7, "ax": 8, "ax1": 8, "axi": 8, "axr": 8, "axr2": 8, "azimuth": 7, "b": 4, "b1": [], "b2": [], "b3": [], "b4": [], "back": 0, "bar": 8, "base": 7, "bb_cpd_fct": 7, "bb_r_pick": 7, "bb_rad": 7, "bb_t_pick": 7, "bb_temp": 7, "befor": 7, "below": [5, 7], "best": 8, "bifani": [0, 6, 7, 8], "big": 6, "bin": [7, 8], "bin_data": 8, "bin_siz": 8, "blob": 8, "block": 6, "boolean": [0, 8], "both": 7, "bottleneck": 5, "boundari": 7, "branch": 5, "brew": 5, "broaden": [7, 8], "brogi": 7, "build": 5, "burn_in": 8, "c": [5, 7], "calc_ck": 7, "calcul": [0, 7], "calibr": 7, "call": 7, "can": [5, 7], "capabl": 4, "carvalho": 7, "ccf": [7, 8], "ccf_method": 7, "cd": 5, "chain": 8, "chang": 7, "channel": 0, "check": [7, 8], "chi2": 7, "chip": 5, "choic": 7, "choos": 8, "chosen": 7, "circum": 7, "circumplanetari": 7, "ck": [7, 8], "class": [0, 1, 4, 6, 7], "classic": [2, 4, 7], "clone": 5, "closest": 0, "cloud": 8, "cloud_opacity_f": 8, "cloud_opacity_mg2sio4": 8, "cloud_particle_radius_f": 8, "cloud_particle_radius_mg2sio4": 8, "cloud_prop": 8, "cloud_vmr_f": 8, "cloud_vmr_mg2sio4": 8, "cmake": 5, "co": 7, "coeffici": 7, "color": 8, "color_out": 8, "com": [5, 6, 8], "command": [], "commun": 4, "companion": 7, "compar": [0, 8], "complexradar": 8, "comput": 7, "concaten": 6, "conda": 4, "conda_subdir": 5, "config": [5, 6, 7, 8], "config_file_path": [6, 8], "configobj": 5, "consist": 7, "constant": 7, "construct": 6, "cont": 0, "contain": [0, 7, 8], "continuum": 0, "continuum_estim": 0, "continuum_unfilt": 7, "contour": 8, "contribut": 7, "converg": 8, "convolv": 0, "convolve_and_sampl": 0, "copi": 5, "corner": [5, 8], "correctli": 8, "correl": [7, 8], "corrobor": 5, "count": 7, "cov_1": 0, "cov_n": 0, "covari": [0, 7], "cp": [5, 7], "cpd": 7, "creat": [4, 8], "cross": 8, "ctt": 7, "cummin": 8, "current": [0, 7, 8], "curv": 8, "cush": 7, "custom": [0, 7, 8], "d": 7, "d_pick": 7, "damian": 8, "damiancummin": 8, "darken": 7, "dask": 5, "data": [1, 4, 7, 8], "data_bin": 8, "data_resolut": 8, "deal": 7, "decid": 6, "decoup": 0, "decreas": 0, "default": [0, 7, 8], "defin": [0, 7], "delta_flx": 7, "demo": 4, "deni": [0, 7, 8], "densiti": 8, "depend": [5, 7], "design": 4, "desir": [0, 5, 8], "detail": 5, "deviat": [0, 7], "diag": 6, "diag_mat": 6, "diagon": 6, "dif": 7, "differ": [0, 6, 7, 8], "differenti": 7, "dilut": 7, "directli": [], "directori": 5, "disc": 7, "disk": 7, "displai": 8, "distanc": 7, "distribut": 8, "do": 5, "doc": [], "document": 4, "doe": 8, "don": [], "doppler": 7, "doppler_fct": 7, "dopplershift": 7, "dtype": 6, "due": 7, "dure": 6, "each": [0, 6, 7, 8], "eddy_diffusion_coeffici": 8, "edu": 7, "effect": 7, "empi": 6, "empti": [5, 6], "encourag": 4, "env": 5, "env_formosa": 5, "environ": 4, "eq": 7, "err": 7, "err_1": 0, "err_n": 0, "err_ob": 7, "err_obs_photo": 7, "err_obs_spectro": 7, "err_phot": 0, "error": [0, 5, 7, 8], "estim": [0, 7], "et": 7, "evalu": [0, 7], "event": 8, "everi": 7, "exoatmospher": 5, "exoplanetari": 4, "exorem": 8, "exploit": 4, "explor": [0, 7], "express": 7, "extend": 7, "extens": 7, "extim": 7, "extinct": [5, 7], "extra": [5, 7], "extract": [6, 8], "extract_model": 0, "extract_observ": 0, "extraction_funct": 0, "factor": [7, 8], "fals": 8, "few": 5, "fig": 8, "fig1": 8, "figsiz": 8, "figur": 8, "file": [0, 5, 6, 7, 8], "fill": 8, "fill_between": 8, "filter": 0, "filter_phot_1": 0, "filter_phot_2": 0, "filter_phot_n": 0, "final": [5, 6, 7], "final_logl": 7, "find_nearest": 0, "first": [5, 7], "fit": 8, "float": [0, 7, 8], "float64": 6, "flux": [0, 7, 8], "flx": 0, "flx_1": 0, "flx_final": 8, "flx_mod": 7, "flx_mod_extract": [], "flx_mod_nativ": 0, "flx_mod_photo": 7, "flx_mod_spectro": 7, "flx_n": 0, "flx_ob": [0, 7], "flx_obs_fin": 0, "flx_obs_photo": 7, "flx_obs_spectro": 7, "flx_phot": 0, "flx_post_doppl": 7, "fm07": 7, "folder": 5, "follow": 5, "footbal": 8, "for_plot": 7, "forg": 5, "format": 0, "formosa": [0, 2, 4, 5, 6, 7], "formula": 7, "fortran": 5, "fourth": [], "free": 7, "from": [0, 5, 6, 7, 8], "full": 8, "function": 8, "fwhm": 0, "gaussian": [0, 7], "gaussian_prior": 7, "gcc": 5, "gener": [5, 6, 7], "get": 5, "get_full_spectra": 8, "git": 5, "github": [4, 8], "given": 8, "global": 8, "global_param": [0, 7], "globfil": 6, "go": [], "gp": 7, "grid": [7, 8], "grid_us": 8, "gridlin": 8, "guid": [], "ha": 5, "harvard": 7, "here": [0, 5], "high": 8, "highest": 0, "hiris": 7, "histogram": 8, "hour": 0, "how": 6, "howev": [], "html": [], "http": [5, 6, 7, 8], "i": [0, 5, 6, 7, 8], "identif": 7, "identifi": 0, "idx": 0, "implement": 7, "import": [6, 7], "import_obsmod": 7, "importlib": 5, "includ": [0, 8], "index": [0, 4, 7], "indic": 0, "indob": [0, 7], "inform": [0, 7], "inherit": 8, "ini": [7, 8], "initi": 8, "input": [6, 7], "inst": 0, "instal": 4, "installmost": [], "instru_1": [], "instru_n": [], "instru_range_1": 0, "instru_range_n": 0, "instruct": 5, "instrument": [0, 7], "int": [0, 7, 8], "int_method": 8, "integr": 7, "interact": 6, "interpol": [7, 8], "interpret": 5, "interstellar": 7, "inv_cov": 7, "invers": [5, 6, 7], "io": [], "ipynb": 8, "ishigoya": 6, "issu": 4, "iterativli": 6, "its": [0, 4], "jason": 0, "johannesbuchn": 5, "john": 7, "justob": 0, "k": 7, "keyword": 8, "km": [7, 8], "krull": 7, "kw": 8, "label": 8, "largest": 7, "last": 5, "latest": 5, "latitud": 7, "launch": 7, "launch_adapt": 0, "launch_nested_sampl": 7, "law": 7, "ld_pick": 7, "learn": 5, "length": 8, "level": 8, "levels_sig": 8, "lib": 5, "lim_param_grid": 7, "limd": 7, "limit": 8, "line": [5, 7], "linear": [7, 8], "list": [0, 6, 7, 8], "list_down": 8, "list_up": 8, "log": 8, "logarithm": 7, "logi": 8, "logl": 7, "logl_ccf_brogi": 7, "logl_ccf_custom": 7, "logl_ccf_zuck": 7, "logl_chi2_class": 7, "logl_chi2_covari": 7, "logl_chi2_extend": 7, "logl_chi2_extended_covari": 7, "logl_full_covari": 7, "loglik": 7, "loglikelihood": 7, "logx": 8, "loop": [0, 6, 7], "lower": 8, "lowest": 0, "lsf": 0, "lsq_fct": 7, "m": 0, "m1": 5, "maco": 5, "mag": 7, "mai": 7, "main": [1, 4, 5, 8], "main_fil": 7, "main_util": 6, "make": [0, 5, 6], "manag": [0, 5], "manual": 7, "map": 7, "master": 8, "mat1": 6, "mat2": 6, "matplotlib": [5, 8], "matric": 6, "matrix": [6, 7], "matthieu": [0, 7, 8], "max": 8, "maximum": 8, "me": 7, "mean": 8, "merg": 0, "metadata": 5, "method": [7, 8], "min": 8, "miniconda": [], "minumum": 8, "minut": 0, "mod": 0, "mod_photo": 0, "mod_spectro": 0, "mode": 6, "model": [7, 8], "model_flux": 0, "model_nam": 8, "model_resolut": 8, "model_spectra": 8, "model_wavelength": 8, "model_wv": 0, "modif": 7, "modif_spec": 7, "modul": [4, 7], "more": 5, "move": 5, "mpi": 5, "mpi4pi": 5, "multinest": 5, "multipl": 8, "n": [0, 5, 6, 7], "n_ordinate_level": 8, "n_point": 8, "name": [0, 8], "nathan": 8, "need": [5, 7], "nest": [1, 4], "nested_logl_funct": 7, "nested_modif_spec": 7, "nested_prior_funct": 7, "nested_sampl": 7, "nestl": [5, 7], "netcdf4": 5, "new": 7, "next": 5, "nice": 7, "nois": 7, "none": [0, 7, 8], "norm": 8, "normal": [7, 8], "normalys": 7, "note": 7, "nr": 7, "ntheta": 7, "num_sigma": 0, "number": [0, 7, 8], "numpi": [5, 6], "ob": 0, "object": [0, 7, 8], "obs_nam": 0, "obs_opt": 0, "obs_or_mod": 0, "obs_photo": 0, "obs_photo_in": 0, "obs_spectro": 0, "obs_spectro_in": 0, "observ": 7, "omeg": 7, "onc": 5, "one": 0, "onto": 5, "open": [4, 5], "opt": 5, "option": [0, 6, 8], "order": 8, "origin": 8, "osx": 5, "other": 5, "our": 5, "output": 7, "output_model": 0, "overflow": 6, "p": 7, "packag": [4, 5], "page": 4, "palma": [0, 6, 7, 8], "paralel": 5, "parallel": [], "paramet": [0, 6, 7, 8], "path": 8, "path_cloud_profil": 8, "path_temp_profil": 8, "paulina": [0, 6, 7, 8], "pc": 7, "per": 0, "perform": 7, "petru": [0, 6, 7, 8], "photometr": [0, 7], "photometri": [0, 7, 8], "pick": 7, "pip": 5, "planet": 7, "planetari": [7, 8], "platform": [], "pleas": 5, "plot": [1, 4, 7], "plot_ccf": 8, "plot_chain": 8, "plot_cloud": 8, "plot_corn": 8, "plot_fit": 8, "plot_fit_hir": 8, "plot_hires_comp_model": 8, "plot_pt": 8, "plot_radar": 8, "plotting_class": 8, "plottingformosa": 8, "point": [0, 8], "possibl": 5, "posterior": 8, "pressur": 8, "prior_fct_arg": 7, "prior_transform": 7, "problem": 5, "proce": [], "process": 5, "profil": 8, "project": 7, "propos": 7, "py": 5, "pyasl": 7, "pyastronomi": 5, "pymultinest": [4, 7], "pypi": 4, "python": [4, 5, 6], "pyyaml": 5, "quantil": 8, "question": 6, "quickli": 7, "r": 7, "r_pick": 7, "radar": 8, "radial": [7, 8], "radiu": 7, "randomli": 7, "rang": [0, 8], "ravet": [0, 7, 8], "re": [0, 7], "re_interp": 8, "recommend": 5, "reddening_fct": 7, "reinterpol": 8, "releas": [], "rem": 6, "remov": 8, "repeat": 6, "replac": 0, "report": 8, "repositori": 5, "reproduc": 7, "requir": 5, "res_mod_nativ": 0, "res_mod_ob": 0, "res_mod_obs_merg": 0, "res_ob": 0, "resampl": 0, "residu": [7, 8], "reso_1": 0, "reso_n": 0, "resolut": [0, 8], "resolution_decreas": 0, "result": 6, "return": [0, 6, 7, 8], "right": 8, "rjup": 7, "rotat": 7, "rotation": 7, "routin": 7, "run": [5, 6], "rv_cor": 8, "rv_grid": 8, "rv_pick": 7, "rv_step": 8, "same": [7, 8], "sampl": [0, 1, 4], "scale": [7, 8], "scale_data": 8, "scipi": 5, "search": 4, "second": [0, 5], "sequenc": [], "set": [5, 7], "setup": 5, "sever": 2, "sh": [], "shape": 6, "shift": [7, 8], "side": [7, 8], "sigma": [0, 8], "sigmas_wv": 0, "similar": 7, "simon": [0, 6, 7, 8], "simul": 0, "sin": 7, "size": 8, "small": 6, "smith": 7, "solar": 7, "solv": 5, "sourc": [0, 4, 6, 7, 8], "speci": 8, "specif": 8, "specifi": 0, "spectr": 5, "spectra": [0, 8], "spectral": [0, 7], "spectroscop": 7, "spectroscopi": [7, 8], "spectrum": [0, 7, 8], "stack": 6, "stackoverflow": 6, "standard": [0, 5, 7], "star": [0, 7], "star_1": 0, "star_flx_ob": 7, "star_n": 0, "statsbomb": 8, "stellar": [7, 8], "step": [5, 8], "str": [0, 6, 7, 8], "string": 0, "strongli": 5, "sub": [0, 6, 8], "subdir": 5, "substellar": 7, "succesfulli": 7, "sure": 5, "symmetr": 8, "synthet": [0, 7], "system": 5, "system_ob": 7, "systemat": 7, "sythet": 7, "t": [], "take": 0, "task": [], "temperatur": [7, 8], "termin": [5, 6], "terminal": 6, "text": 6, "th": 7, "than": 5, "them": [0, 6], "theta": [7, 8], "theta_index": 7, "thi": [0, 4, 5, 7], "third": [], "though": 4, "thourgh": [], "throgh": [], "through": 5, "time": 7, "too": 0, "tran": 8, "tran_1": 0, "tran_n": 0, "transm_ob": 7, "transmis": 8, "transmiss": [0, 7], "tupl": 8, "two": [5, 6, 7], "type": [0, 6, 7, 8], "ui": 7, "um": 0, "uncert": 8, "uncorrel": 7, "under": [5, 7], "unifi": 7, "uniform": 7, "uniform_prior": 7, "unit": [0, 7], "up": 7, "upper": 8, "us": [0, 2, 4, 5, 6, 7, 8], "useful": 6, "user": 4, "util": [1, 4], "v": [5, 7], "vacuum": 0, "valu": [0, 7, 8], "variabl": [0, 6, 7, 8], "veloc": [7, 8], "version": [5, 7], "visualis": 8, "vmr_ch4": 8, "vmr_co": 8, "vmr_co2": 8, "vmr_feh": 8, "vmr_h2": 8, "vmr_h2o": 8, "vmr_hcn": 8, "vmr_k": 8, "vmr_na": 8, "vmr_nh3": 8, "vmr_ph3": 8, "vmr_tio": 8, "vmr_vo": 8, "vol": 7, "vsini_fct_accur": 7, "vsini_fct_fast_rot_broad": 7, "vsini_fct_rot_broad": 7, "vsini_pick": 7, "w": 0, "wai": 2, "wang": 0, "want": [0, 5], "warn": [], "wav": 0, "wav_1": 0, "wav_fin": 8, "wav_for_adapt": [0, 8], "wav_mod_nativ": 0, "wav_n": 0, "wav_ob": 0, "wav_obs_photo": [0, 7], "wav_obs_spectro": [0, 7], "wav_phot": 0, "wave": 8, "wave_bin": 8, "wave_obs_merg": 7, "wave_reso_tab": 0, "wavelength": [0, 7, 8], "we": [4, 5, 7], "welcom": 4, "were": 5, "when": [6, 7], "where": [7, 8], "which": [0, 5], "window_normalis": 8, "without": [], "work": [], "write": 5, "wtt": 7, "wull": 6, "wv_channel": 0, "xarrai": 5, "y": 6, "ye": [0, 7, 8], "yesno": 6, "you": [0, 5], "your": 5, "your_path": 5, "zimniak": 8, "zucker": 7, "\u00b2": 7}, "titles": ["Adapt the data", "ForMoSA API", "DEMO", "DEMO classic:", "Forward Modeling Tool for Spectral Analysis", "Installation", "Main Utilities", "Nested Sampling", "Plotting Class"], "titleterms": {"": [], "A": 5, "For": 5, "The": 8, "adapt": 0, "analysi": 4, "api": 1, "b": 5, "class": 8, "classic": 3, "clone": [], "conda": 5, "content": 4, "creat": 5, "data": 0, "demo": [2, 3], "document": [], "environ": 5, "extract": 0, "formosa": [1, 8], "forward": 4, "function": [0, 6, 7], "git": [], "github": 5, "global": 6, "grid": 0, "indic": 4, "instal": 5, "issu": 5, "likelihood": 7, "main": [6, 7], "model": [0, 4], "modifi": 7, "modul": 8, "nest": 7, "observ": 0, "pip": [], "plot": 8, "prior": 7, "pymultinest": 5, "pypi": 5, "sampl": 7, "spectra": 7, "spectral": 4, "tabl": 4, "though": 5, "tool": 4, "user": 5, "util": 6, "welcom": []}}) \ No newline at end of file +Search.setIndex({"alltitles": {"A. Installation though PyPI": [[5, "a-installation-though-pypi"]], "Acknowledgments:": [[4, "acknowledgments"]], "Adapt Grid:": [[0, "module-ForMoSA.adapt.adapt_grid"]], "Adapt Observations and Models:": [[0, "module-ForMoSA.adapt.adapt_obs_mod"]], "Adapt the data": [[0, null]], "Attribution:": [[4, "attribution"]], "B. Installation though GitHub": [[5, "b-installation-though-github"]], "Contents:": [[4, null]], "Create a conda environment": [[5, "create-a-conda-environment"]], "DEMO": [[2, null]], "DEMO classic:": [[3, null]], "Extraction Functions:": [[0, "module-ForMoSA.adapt.extraction_functions"]], "For PyMultiNest users": [[5, "for-pymultinest-users"]], "ForMoSA API": [[1, null]], "Forward Modeling Tool for Spectral Analysis": [[4, null]], "Global functions:": [[6, "module-ForMoSA.main_utilities"]], "Installation": [[5, null]], "Issues?": [[5, "issues"]], "Likelihood Functions:": [[7, "module-ForMoSA.nested_sampling.nested_logL_functions"]], "Main Utilities": [[6, null]], "Modify Spectra:": [[7, "module-ForMoSA.nested_sampling.nested_modif_spec"]], "Nested Main:": [[7, "module-ForMoSA.nested_sampling.nested_sampling"]], "Nested Sampling": [[7, null]], "Plotting Class": [[8, null]], "Prior Functions:": [[7, "module-ForMoSA.nested_sampling.nested_prior_function"]], "The plotting module of ForMoSA:": [[8, "module-ForMoSA.plotting.plotting_class"]], "Version Track:": [[4, "version-track"]]}, "docnames": ["adapt", "api", "demo", "demo_classic", "index", "installation", "main_utilities", "nested_sampling", "plotting"], "envversion": {"sphinx": 62, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1}, "filenames": ["adapt.rst", "api.rst", "demo.rst", "demo_classic.rst", "index.rst", "installation.rst", "main_utilities.rst", "nested_sampling.rst", "plotting.rst"], "indexentries": {}, "objects": {"": [[6, 0, 0, "-", "ForMoSA"]], "ForMoSA": [[6, 0, 0, "-", "main_utilities"]], "ForMoSA.adapt": [[0, 0, 0, "-", "adapt_grid"], [0, 0, 0, "-", "adapt_obs_mod"], [0, 0, 0, "-", "extraction_functions"]], "ForMoSA.adapt.adapt_grid": [[0, 1, 1, "", "adapt_grid"]], "ForMoSA.adapt.adapt_obs_mod": [[0, 1, 1, "", "launch_adapt"]], "ForMoSA.adapt.extraction_functions": [[0, 1, 1, "", "adapt_model"], [0, 1, 1, "", "adapt_observation_range"], [0, 1, 1, "", "continuum_estimate"], [0, 1, 1, "", "convolve_and_sample"], [0, 1, 1, "", "decoupe"], [0, 1, 1, "", "extract_model"], [0, 1, 1, "", "extract_observation"], [0, 1, 1, "", "find_nearest"], [0, 1, 1, "", "resolution_decreasing"]], "ForMoSA.main_utilities": [[6, 2, 1, "", "GlobFile"], [6, 1, 1, "", "diag_mat"], [6, 1, 1, "", "yesno"]], "ForMoSA.nested_sampling": [[7, 0, 0, "-", "nested_logL_functions"], [7, 0, 0, "-", "nested_modif_spec"], [7, 0, 0, "-", "nested_prior_function"], [7, 0, 0, "-", "nested_sampling"]], "ForMoSA.nested_sampling.nested_logL_functions": [[7, 1, 1, "", "logL_CCF_Brogi"], [7, 1, 1, "", "logL_CCF_Zucker"], [7, 1, 1, "", "logL_CCF_custom"], [7, 1, 1, "", "logL_chi2_classic"], [7, 1, 1, "", "logL_chi2_covariance"], [7, 1, 1, "", "logL_chi2_extended"], [7, 1, 1, "", "logL_chi2_extended_covariance"], [7, 1, 1, "", "logL_full_covariance"]], "ForMoSA.nested_sampling.nested_modif_spec": [[7, 1, 1, "", "bb_cpd_fct"], [7, 1, 1, "", "calc_ck"], [7, 1, 1, "", "doppler_fct"], [7, 1, 1, "", "lsq_fct"], [7, 1, 1, "", "modif_spec"], [7, 1, 1, "", "reddening_fct"], [7, 1, 1, "", "vsini_fct_accurate"], [7, 1, 1, "", "vsini_fct_fast_rot_broad"], [7, 1, 1, "", "vsini_fct_rot_broad"]], "ForMoSA.nested_sampling.nested_prior_function": [[7, 1, 1, "", "gaussian_prior"], [7, 1, 1, "", "uniform_prior"]], "ForMoSA.nested_sampling.nested_sampling": [[7, 1, 1, "", "import_obsmod"], [7, 1, 1, "", "launch_nested_sampling"], [7, 1, 1, "", "loglike"], [7, 1, 1, "", "prior_transform"]], "ForMoSA.plotting": [[8, 0, 0, "-", "plotting_class"]], "ForMoSA.plotting.plotting_class": [[8, 2, 1, "", "ComplexRadar"], [8, 2, 1, "", "PlottingForMoSA"], [8, 1, 1, "", "bin_data"]], "ForMoSA.plotting.plotting_class.ComplexRadar": [[8, 3, 1, "", "fill"], [8, 3, 1, "", "fill_between"], [8, 3, 1, "", "plot"], [8, 3, 1, "", "scale_data"]], "ForMoSA.plotting.plotting_class.PlottingForMoSA": [[8, 3, 1, "", "get_FULL_spectra"], [8, 3, 1, "", "plot_Clouds"], [8, 3, 1, "", "plot_HiRes_comp_model"], [8, 3, 1, "", "plot_PT"], [8, 3, 1, "", "plot_ccf"], [8, 3, 1, "", "plot_chains"], [8, 3, 1, "", "plot_corner"], [8, 3, 1, "", "plot_fit"], [8, 3, 1, "", "plot_fit_HiRes"], [8, 3, 1, "", "plot_radar"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "function", "Python function"], "2": ["py", "class", "Python class"], "3": ["py", "method", "Python method"]}, "objtypes": {"0": "py:module", "1": "py:function", "2": "py:class", "3": "py:method"}, "terms": {"": [7, 8], "0": [0, 4, 5, 6, 7, 8], "1": [0, 4, 5, 7, 8], "10": [5, 7, 8], "100": [7, 8], "1000": 8, "11": 5, "13": [4, 5], "15": 8, "16": 8, "1994": 7, "2": [0, 7, 8], "2003": 7, "2008": 7, "2019": 7, "2020": [], "202019": 8, "2023": [4, 5, 7], "2023rnaa": 7, "20cup": 8, "20visualis": 8, "20women": 8, "20world": 8, "23": 7, "287": 7, "3": [4, 5, 8], "300": 8, "4": 5, "42154606": 6, "5": [4, 8], "50": 7, "523": 7, "534": 7, "6": 8, "65415996": [], "675": 7, "68": 8, "7": [7, 8], "84": 8, "91c": 7, "95": 8, "997": 8, "A": [4, 7], "By": [], "For": 4, "IN": 0, "If": [0, 5, 6, 7, 8], "In": [], "It": [0, 7, 8], "OF": 0, "The": [0, 5, 7], "Then": [0, 5, 7], "There": [2, 5], "To": 5, "a1": [], "a2": [], "a3": [], "a4": [], "ab": 7, "about": 5, "abov": 7, "abstract": 7, "academi": 4, "accord": 7, "acf": 8, "activ": 5, "actual": 5, "adapt": [1, 4, 7, 8], "adapt_grid": 0, "adapt_model": 0, "adapt_obs_mod": 0, "adapt_observation_rang": 0, "add": [6, 7, 8], "adpat": 8, "adsab": 7, "al": [4, 7], "align": 6, "all": [5, 6, 7, 8], "allan": [0, 7, 8], "allong": 6, "almost": 5, "alpha": 7, "also": 0, "an": [0, 4, 5, 6], "anaconda3": 5, "analyt": 7, "ani": 5, "annulu": 7, "anoth": 8, "answer": 6, "api": 4, "appl": [], "appli": [7, 8], "applic": 7, "approach": 4, "ar": [0, 2, 5, 7, 8], "arbitrari": 8, "architectur": 5, "arg": 8, "argument": 8, "arm64": 5, "arrai": [0, 6, 7, 8], "arrang": 0, "arraymatrix": 6, "associ": 8, "assumpt": 7, "astro": 4, "astropi": 5, "asw": 6, "asymmetr": 8, "atmo": 0, "atmospher": [4, 7], "attend": [], "author": [0, 6, 7, 8], "auto": 8, "automat": 5, "av_pick": 7, "ax": 8, "ax1": 8, "axi": 8, "axr": 8, "axr2": 8, "azimuth": 7, "b": 4, "b1": [], "b2": [], "b3": [], "b4": [], "back": 0, "bar": 8, "base": 7, "bb_cpd_fct": 7, "bb_r_pick": 7, "bb_rad": 7, "bb_t_pick": 7, "bb_temp": 7, "becam": [], "befor": 7, "being": [], "below": [5, 7], "best": 8, "bifani": [0, 6, 7, 8], "big": 6, "bin": [7, 8], "bin_data": 8, "bin_siz": 8, "blob": 8, "block": 6, "boolean": [0, 8], "both": 7, "bottleneck": 5, "boundari": 7, "branch": 5, "brew": 5, "broaden": [7, 8], "brogi": 7, "build": 5, "burn_in": 8, "c": [5, 7], "calc_ck": 7, "calcul": [0, 7], "calibr": 7, "call": 7, "can": [5, 7], "capabl": 4, "carvalho": 7, "ccf": [7, 8], "ccf_method": 7, "cd": 5, "chain": 8, "chang": 7, "channel": 0, "check": [7, 8], "chi2": 7, "chip": 5, "choic": 7, "choos": 8, "chosen": 7, "circum": 7, "circumplanetari": 7, "cite": 4, "ck": [7, 8], "class": [0, 1, 4, 6, 7], "classic": [2, 4, 7], "clone": 5, "closest": 0, "cloud": [4, 8], "cloud_opacity_f": 8, "cloud_opacity_mg2sio4": 8, "cloud_particle_radius_f": 8, "cloud_particle_radius_mg2sio4": 8, "cloud_prop": 8, "cloud_vmr_f": 8, "cloud_vmr_mg2sio4": 8, "cmake": 5, "co": 7, "code": 4, "coeffici": 7, "color": 8, "color_out": 8, "com": [5, 6, 8], "command": [], "commun": 4, "companion": 7, "compar": [0, 8], "complexradar": 8, "comput": 7, "concaten": 6, "conda": 4, "conda_subdir": 5, "config": [5, 6, 7, 8], "config_file_path": [6, 8], "configobj": 5, "consist": 7, "constant": 7, "construct": 6, "cont": 0, "contain": [0, 7, 8], "continuum": 0, "continuum_estim": 0, "continuum_unfilt": 7, "contour": 8, "contribut": 7, "converg": 8, "convolv": 0, "convolve_and_sampl": 0, "copi": 5, "corner": [5, 8], "correctli": 8, "correl": [7, 8], "corrobor": 5, "count": 7, "cov_1": 0, "cov_n": 0, "covari": [0, 7], "cp": [5, 7], "cpd": 7, "creat": [4, 8], "cross": 8, "ctt": 7, "cummin": 8, "current": [0, 7, 8], "curv": 8, "cush": 7, "custom": [0, 7, 8], "d": 7, "d_pick": 7, "damian": 8, "damiancummin": 8, "darken": 7, "dask": 5, "data": [1, 4, 7, 8], "data_bin": 8, "data_resolut": 8, "deal": 7, "decid": 6, "decoup": 0, "decreas": 0, "default": [0, 7, 8], "defin": [0, 7], "delta_flx": 7, "demo": 4, "deni": [0, 7, 8], "densiti": 8, "depend": [5, 7], "design": 4, "desir": [0, 5, 8], "detail": 5, "deviat": [0, 7], "diag": 6, "diag_mat": 6, "diagon": 6, "dif": 7, "differ": [0, 6, 7, 8], "differenti": 7, "dilut": 7, "directli": [], "directori": 5, "disc": 7, "disk": 7, "displai": 8, "distanc": 7, "distribut": [4, 8], "do": 5, "doc": [], "document": 4, "doe": 8, "don": [], "doppler": 7, "doppler_fct": 7, "dopplershift": 7, "dream": [], "dtype": 6, "due": 7, "dure": 6, "each": [0, 6, 7, 8], "eddy_diffusion_coeffici": 8, "edu": 7, "effect": 7, "empi": 6, "empti": [5, 6], "encourag": 4, "env": 5, "env_formosa": 5, "environ": 4, "eq": 7, "err": 7, "err_1": 0, "err_n": 0, "err_ob": 7, "err_obs_photo": 7, "err_obs_spectro": 7, "err_phot": 0, "error": [0, 5, 7, 8], "estim": [0, 7], "et": [4, 7], "evalu": [0, 7], "event": 8, "everi": 7, "exoatmospher": 5, "exoplanetari": 4, "exorem": 8, "exploit": 4, "explor": [0, 7], "express": 7, "extend": 7, "extens": 7, "extim": 7, "extinct": [5, 7], "extra": [5, 7], "extract": [6, 8], "extract_model": 0, "extract_observ": 0, "extraction_funct": 0, "factor": [7, 8], "fals": 8, "few": 5, "fig": 8, "fig1": 8, "figsiz": 8, "figur": 8, "file": [0, 5, 6, 7, 8], "fill": 8, "fill_between": 8, "filter": 0, "filter_phot_1": 0, "filter_phot_2": 0, "filter_phot_n": 0, "final": [5, 6, 7], "final_logl": 7, "find_nearest": 0, "first": [4, 5, 7], "fit": 8, "float": [0, 7, 8], "float64": 6, "flux": [0, 7, 8], "flx": 0, "flx_1": 0, "flx_final": 8, "flx_mod": 7, "flx_mod_extract": [], "flx_mod_nativ": 0, "flx_mod_photo": 7, "flx_mod_spectro": 7, "flx_n": 0, "flx_ob": [0, 7], "flx_obs_fin": 0, "flx_obs_photo": 7, "flx_obs_spectro": 7, "flx_phot": 0, "flx_post_doppl": 7, "fm07": 7, "folder": 5, "follow": 5, "footbal": 8, "for_plot": 7, "forg": 5, "format": 0, "formosa": [0, 2, 4, 5, 6, 7], "formula": 7, "fortran": 5, "fourth": [], "free": 7, "from": [0, 5, 6, 7, 8], "full": 8, "function": 8, "fwhm": 0, "gaussian": [0, 7], "gaussian_prior": 7, "gcc": 5, "gener": [5, 6, 7], "get": 5, "get_full_spectra": 8, "git": 5, "github": [4, 8], "given": 8, "global": 8, "global_param": [0, 7], "globfil": 6, "go": [], "gp": 7, "grid": [7, 8], "grid_us": 8, "gridlin": 8, "guid": [], "ha": 5, "harvard": 7, "here": [0, 5], "high": 8, "highest": 0, "hiris": 7, "histogram": 8, "hour": 0, "how": 6, "howev": [], "html": [], "http": [5, 6, 7, 8], "i": [0, 5, 6, 7, 8], "identif": 7, "identifi": 0, "idx": 0, "implement": 7, "import": [6, 7], "import_obsmod": 7, "importlib": 5, "includ": [0, 8], "index": [0, 7], "indic": 0, "indob": [0, 7], "inform": [0, 7], "inherit": 8, "ini": [7, 8], "initi": 8, "input": [6, 7], "inst": 0, "instal": 4, "installmost": [], "instru_1": [], "instru_n": [], "instru_range_1": 0, "instru_range_n": 0, "instruct": 5, "instrument": [0, 7], "int": [0, 7, 8], "int_method": 8, "integr": 7, "interact": 6, "interpol": [7, 8], "interpret": 5, "interstellar": 7, "inv_cov": 7, "invers": [5, 6, 7], "io": [], "ipynb": 8, "ishigoya": 6, "issu": 4, "iterativli": 6, "its": [0, 4], "jason": 0, "johannesbuchn": 5, "john": 7, "justob": 0, "k": 7, "keyword": 8, "km": [7, 8], "krull": 7, "kw": 8, "label": 8, "largest": 7, "last": 5, "latest": 5, "latitud": 7, "launch": 7, "launch_adapt": 0, "launch_nested_sampl": 7, "law": 7, "ld_pick": 7, "learn": 5, "length": 8, "level": 8, "levels_sig": 8, "lib": 5, "lim_param_grid": 7, "limd": 7, "limit": 8, "line": [5, 7], "linear": [7, 8], "list": [0, 6, 7, 8], "list_down": 8, "list_up": 8, "log": 8, "logarithm": 7, "logi": 8, "logl": 7, "logl_ccf_brogi": 7, "logl_ccf_custom": 7, "logl_ccf_zuck": 7, "logl_chi2_class": 7, "logl_chi2_covari": 7, "logl_chi2_extend": 7, "logl_chi2_extended_covari": 7, "logl_full_covari": 7, "loglik": 7, "loglikelihood": 7, "logx": 8, "loop": [0, 6, 7], "lower": 8, "lowest": 0, "lsf": 0, "lsq_fct": 7, "m": 0, "m1": 5, "maco": 5, "mag": 7, "mai": 7, "main": [1, 4, 5, 8], "main_fil": 7, "main_util": 6, "make": [0, 5, 6], "manag": [0, 5], "manual": 7, "map": 7, "master": 8, "mat1": 6, "mat2": 6, "matplotlib": [5, 8], "matric": 6, "matrix": [6, 7], "matthieu": [0, 7, 8], "max": 8, "maximum": 8, "me": 7, "mean": 8, "merg": 0, "metadata": 5, "method": [7, 8], "min": 8, "miniconda": [], "minumum": 8, "minut": 0, "mod": 0, "mod_photo": 0, "mod_spectro": 0, "mode": 6, "model": [7, 8], "model_flux": 0, "model_nam": 8, "model_resolut": 8, "model_spectra": 8, "model_wavelength": 8, "model_wv": 0, "modif": 7, "modif_spec": 7, "modul": 7, "more": 5, "move": 5, "mpi": 5, "mpi4pi": 5, "multinest": 5, "multipl": 8, "n": [0, 5, 6, 7], "n_ordinate_level": 8, "n_point": 8, "name": [0, 8], "nathan": 8, "need": [5, 7], "nest": [1, 4], "nested_logl_funct": 7, "nested_modif_spec": 7, "nested_prior_funct": 7, "nested_sampl": 7, "nestl": [5, 7], "netcdf4": 5, "new": 7, "next": 5, "nice": 7, "nois": 7, "none": [0, 7, 8], "norm": 8, "normal": [7, 8], "normalys": 7, "note": 7, "nr": 7, "ntheta": 7, "num_sigma": 0, "number": [0, 7, 8], "numpi": [5, 6], "ob": 0, "object": [0, 7, 8], "obs_nam": 0, "obs_opt": 0, "obs_or_mod": 0, "obs_photo": 0, "obs_photo_in": 0, "obs_spectro": 0, "obs_spectro_in": 0, "observ": 7, "omeg": 7, "onc": 5, "one": 0, "onto": 5, "open": [4, 5], "oper": 4, "opt": 5, "option": [0, 6, 8], "order": 8, "origin": 8, "osx": 5, "other": 5, "our": [4, 5], "output": 7, "output_model": 0, "overflow": 6, "p": 7, "packag": [4, 5], "page": [], "palma": [0, 6, 7, 8], "paralel": 5, "parallel": [], "paramet": [0, 6, 7, 8], "path": 8, "path_cloud_profil": 8, "path_temp_profil": 8, "paulina": [0, 6, 7, 8], "pc": 7, "per": 0, "perform": 7, "petru": [0, 4, 6, 7, 8], "photometr": [0, 7], "photometri": [0, 7, 8], "pick": 7, "pip": 5, "planet": 7, "planetari": [7, 8], "platform": [], "pleas": [4, 5], "plot": [1, 4, 7], "plot_ccf": 8, "plot_chain": 8, "plot_cloud": 8, "plot_corn": 8, "plot_fit": 8, "plot_fit_hir": 8, "plot_hires_comp_model": 8, "plot_pt": 8, "plot_radar": 8, "plotting_class": 8, "plottingformosa": 8, "point": [0, 8], "possibl": 5, "posterior": 8, "present": 4, "pressur": 8, "prior_fct_arg": 7, "prior_transform": 7, "problem": 5, "proce": [], "process": 5, "profil": 8, "project": 7, "propos": 7, "py": 5, "pyasl": 7, "pyastronomi": 5, "pymultinest": [4, 7], "pypi": 4, "python": [4, 5, 6], "pyyaml": 5, "quantil": 8, "question": 6, "quickli": 7, "r": 7, "r_pick": 7, "radar": 8, "radial": [7, 8], "radiu": 7, "randomli": 7, "rang": [0, 8], "ravet": [0, 7, 8], "re": [0, 7], "re_interp": 8, "realiti": [], "recommend": 5, "reddening_fct": 7, "reinterpol": 8, "releas": 4, "rem": 6, "remov": 8, "repeat": 6, "replac": 0, "report": 8, "repositori": 5, "reproduc": 7, "requir": 5, "res_mod_nativ": 0, "res_mod_ob": 0, "res_mod_obs_merg": 0, "res_ob": 0, "resampl": 0, "residu": [7, 8], "reso_1": 0, "reso_n": 0, "resolut": [0, 8], "resolution_decreas": 0, "result": 6, "return": [0, 6, 7, 8], "right": 8, "rjup": 7, "rotat": 7, "rotation": 7, "routin": 7, "run": [5, 6], "rv_cor": 8, "rv_grid": 8, "rv_pick": 7, "rv_step": 8, "same": [7, 8], "sampl": [0, 1, 4], "scale": [7, 8], "scale_data": 8, "scipi": 5, "search": [], "second": [0, 5], "sequenc": [], "set": [5, 7], "setup": 5, "sever": 2, "sh": [], "shape": 6, "shift": [7, 8], "side": [7, 8], "sigma": [0, 8], "sigmas_wv": 0, "similar": 7, "simon": [0, 6, 7, 8], "simul": 0, "sin": 7, "sincer": 4, "size": 8, "small": 6, "smith": 7, "solar": 7, "solv": 5, "sourc": [0, 4, 6, 7, 8], "speci": 8, "specif": 8, "specifi": 0, "spectr": 5, "spectra": [0, 8], "spectral": [0, 7], "spectroscop": 7, "spectroscopi": [7, 8], "spectrum": [0, 7, 8], "stack": 6, "stackoverflow": 6, "standard": [0, 5, 7], "star": [0, 7], "star_1": 0, "star_flx_ob": 7, "star_n": 0, "statsbomb": 8, "stellar": [7, 8], "step": [5, 8], "str": [0, 6, 7, 8], "string": 0, "strongli": 5, "sub": [0, 6, 8], "subdir": 5, "substellar": 7, "succesfulli": 7, "sure": 5, "symmetr": 8, "synthet": [0, 7], "system": 5, "system_ob": 7, "systemat": 7, "sythet": 7, "t": [], "ta": [], "take": 0, "task": [], "temperatur": [7, 8], "termin": [5, 6], "terminal": 6, "text": 6, "th": 7, "than": 5, "thank": 4, "them": [0, 6], "theta": [7, 8], "theta_index": 7, "thi": [0, 4, 5, 7], "third": [], "though": 4, "thourgh": [], "three": [], "throgh": [], "through": 5, "time": 7, "too": 0, "tran": 8, "tran_1": 0, "tran_n": 0, "transm_ob": 7, "transmis": 8, "transmiss": [0, 7], "tupl": 8, "two": [5, 6, 7], "type": [0, 6, 7, 8], "ui": 7, "um": 0, "uncert": 8, "uncorrel": 7, "under": [5, 7], "unifi": 7, "uniform": 7, "uniform_prior": 7, "unit": [0, 7], "up": 7, "upper": 8, "us": [0, 2, 4, 5, 6, 7, 8], "useful": 6, "user": 4, "util": [1, 4], "v": [5, 7], "vacuum": 0, "valu": [0, 7, 8], "variabl": [0, 6, 7, 8], "veloc": [7, 8], "version": [5, 7], "visualis": 8, "vmr_ch4": 8, "vmr_co": 8, "vmr_co2": 8, "vmr_feh": 8, "vmr_h2": 8, "vmr_h2o": 8, "vmr_hcn": 8, "vmr_k": 8, "vmr_na": 8, "vmr_nh3": 8, "vmr_ph3": 8, "vmr_tio": 8, "vmr_vo": 8, "vol": 7, "vsini_fct_accur": 7, "vsini_fct_fast_rot_broad": 7, "vsini_fct_rot_broad": 7, "vsini_pick": 7, "w": 0, "wai": 2, "wang": 0, "want": [0, 5], "warn": [], "wav": 0, "wav_1": 0, "wav_fin": 8, "wav_for_adapt": [0, 8], "wav_mod_nativ": 0, "wav_n": 0, "wav_ob": 0, "wav_obs_photo": [0, 7], "wav_obs_spectro": [0, 7], "wav_phot": 0, "wave": 8, "wave_bin": 8, "wave_obs_merg": 7, "wave_reso_tab": 0, "wavelength": [0, 7, 8], "we": [4, 5, 7], "welcom": 4, "were": 5, "when": [6, 7], "where": [7, 8], "which": [0, 5], "window_normalis": 8, "without": [], "work": [], "workshop": [], "write": 5, "wtt": 7, "wull": 6, "wv_channel": 0, "xarrai": 5, "y": 6, "ye": [0, 7, 8], "year": [], "yesno": 6, "you": [0, 5], "your": 5, "your_path": 5, "zimniak": 8, "zucker": 7, "\u00b2": 7}, "titles": ["Adapt the data", "ForMoSA API", "DEMO", "DEMO classic:", "Forward Modeling Tool for Spectral Analysis", "Installation", "Main Utilities", "Nested Sampling", "Plotting Class"], "titleterms": {"": [], "A": 5, "For": 5, "The": 8, "acknowledg": 4, "adapt": 0, "analysi": 4, "api": 1, "attribut": 4, "b": 5, "class": 8, "classic": 3, "clone": [], "conda": 5, "content": 4, "creat": 5, "data": 0, "demo": [2, 3], "document": [], "environ": 5, "extract": 0, "formosa": [1, 8], "forward": 4, "function": [0, 6, 7], "git": [], "github": 5, "global": 6, "grid": 0, "indic": [], "instal": 5, "issu": 5, "likelihood": 7, "main": [6, 7], "model": [0, 4], "modifi": 7, "modul": 8, "nest": 7, "observ": 0, "pip": [], "plot": 8, "prior": 7, "pymultinest": 5, "pypi": 5, "sampl": 7, "spectra": 7, "spectral": 4, "tabl": [], "though": 5, "tool": 4, "track": 4, "user": 5, "util": 6, "version": 4, "welcom": []}}) \ No newline at end of file diff --git a/docs/index.rst b/docs/index.rst index 01814bf..cf02986 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -29,9 +29,24 @@ We encourage the community to exploit its capabilities! api.rst -Indices and tables -================== -* :ref:`genindex` -* :ref:`modindex` -* :ref:`search` +Attribution: +++++++++++++ + +Please cite `Petrus et al (2023) `_. + + + +Version Track: +++++++++++++++ + +``1.0.13`` +First version distributed, presented at `Cloud Academy 3. `_. + +``1.0.5`` +First operational release. + + +Acknowledgments: +++++++++++++++++ +Our sincere thanks to `Code/Astro `_. diff --git a/setup.py b/setup.py index 3450d80..a1688bb 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,21 @@ -from setuptools import setup +from setuptools import setup, find_packages, Extension +import numpy, sys +import re + with open("README.md", "r") as fh: long_description = fh.read() + +# auto-updating version code stolen from RadVel +def get_property(prop, project): + result = re.search( + r'{}\s*=\s*[\'"]([^\'"]*)[\'"]'.format(prop), + open(project + "/__init__.py").read(), + ) + return result.group(1) + + def get_requires(): reqs = [] for line in open('requirements.txt', 'r').readlines(): @@ -10,12 +23,12 @@ def get_requires(): return reqs setup(name='ForMoSA', - version='2.0.0', + version=get_property("__version__", "exoSpin"), description='ForMoSA: Forward Modeling Tool for Spectral Analysis', url='https://github.com/exoAtmospheres/ForMoSA', author='P. Palma-Bifani, S. Petrus, M. Ravet, A. Denis, M. Bonnefoy, G. Chauvin', author_email='paulina.palma-bifani@oca.eu', - license='BSD 2-Clause License', + license='BSD 3-Clause License', packages=['ForMoSA', 'ForMoSA.adapt', 'ForMoSA.nested_sampling', 'ForMoSA.plotting'], install_requires=get_requires(), include_package_data = True,