# TransitFit
[TransitFit](https://transitfit.readthedocs.io/en/latest/) has been developed as part of the ongoing effort of the Spectroscopy and Photometry of Exoplanet Atmospheres Research Network (SPEARNET). [SPEARNET](https://doi.org/10.1093/mnras/stz783) is undertaking a survey of exoplanet atmospheres using transmission spectroscopy.
**Original Author** - Joshua Hayes (University of Manchester)
**Current maintainer** - Akshay Priyadarshi (University of Manchester) [email: akshay.priyadarshi@manchester.ac.uk]
## Overview
TransitFit is designed for exoplanetary transmission spectroscopy studies and offers a flexible approach to fitting single or multiple transits of an exoplanet at different observation wavelengths. It possesses the functionality to efficiently couple host limb-darkening parameters to a range of physical models across different wavelengths, through the use of the [Limb darkening toolkit (ldtk)](https://github.com/hpparvi/ldtk) and the [Kipping parameterisations of two-parameter limb darkening models](https://arxiv.org/abs/1308.0009). TransitFit uses [batman](https://www.cfa.harvard.edu/~lkreidberg/batman/index.html) to handle transit light curve modelling, and sampling and retrieval uses the nested sampling algorithm available through [dynesty](https://dynesty.readthedocs.io/en/latest/index.html).
<a name="installation"></a>
## Installation
Please note that TransitFit currently only runs on UNIX-based machines.
Along with an installation of Python 3 (with the standard Conda distribution packages), TransitFit requires the following packages to be installed:
- [dynesty](https://dynesty.readthedocs.io/en/latest/index.html)
- [batman](https://www.cfa.harvard.edu/~lkreidberg/batman/index.html)
- [Limb darkening toolkit (ldtk)](https://github.com/hpparvi/ldtk)
<a name="guide"></a>
## User guide
The documentation for TransitFit can be found [here](https://transitfit.readthedocs.io/en/latest/)
<a name="data"></a>
## Observational Data
The observational data of WASP-127b obtained by SPEARNET and the TRANSITFIT transmission spectrum of WASP-96b can be downloaded from [here](https://cdsarc.cds.unistra.fr/viz-bin/cat/J/MNRAS/527/4936) and [here](https://vizier.cds.unistra.fr/viz-bin/VizieR?-source=J/MNRAS/527/4936).
<a name="citing"></a>
## Citing TransitFit
If you have used TransitFit in your work, please cite the [accompanying paper](https://doi.org/10.1093/mnras/stad3353). If you are using BibTeX, you can add the following to your .bib file:
```
@article{10.1093/mnras/stad3353,
author = {Hayes, J J C and Priyadarshi, A and Kerins, E and Awiphan, S and McDonald, I and A-thano, N and Morgan, J S and Humpage, A and Charles, S and Wright, M and Joshi, Y C and Jiang, Ing-Guey and Inyanya, T and Padjaroen, T and Munsaket, P and Chuanraksasat, P and Komonjinda, S and Kittara, P and Dhillon, V S and Marsh, T R and Reichart, D E and Poshyachinda, S and The SPEARNET Collaboration},
title = "{TransitFit: combined multi-instrument exoplanet transit fitting for JWST, HST and ground-based transmission spectroscopy studies}",
journal = {Monthly Notices of the Royal Astronomical Society},
pages = {stad3353},
year = {2023},
month = {11},
abstract = "{We present TransitFit†, a package designed to fit exoplanetary transit light-curves. TransitFit offers multi-epoch, multi-wavelength fitting of multi-telescope transit data. TransitFit allows per-telescope detrending to be performed simultaneously with transit parameter fitting, including custom detrending. Host limb darkening can be fitted using prior conditioning from stellar atmosphere models. We demonstrate TransitFit in a number of contexts. We model multi-telescope broadband optical data from the ground-based SPEARNET survey of the low-density hot-Neptune WASP-127 b and compare results to a previously published higher spectral resolution GTC/OSIRIS transmission spectrum. Using TransitFit, we fit 26 transit epochs by TESS to recover improved ephemeris of the hot-Jupiter WASP-91 b and a transit depth determined to a precision of 111 ppm. We use TransitFit to conduct an investigation into the contested presence of TTV signatures in WASP-126 b using 180 transits observed by TESS, concluding that there is no statistically significant evidence for such signatures from observations spanning 27 TESS sectors. We fit HST observations of WASP-43 b, demonstrating how TransitFit can use custom detrending algorithms to remove complex baseline systematics. Lastly, we present a transmission spectrum of the atmosphere of WASP-96 b constructed from simultaneous fitting of JWST NIRISS Early Release Observations and archive HST WFC3 transit data. The transmission spectrum shows generally good correspondence between spectral features present in both datasets, despite very different detrending requirements.}",
issn = {0035-8711},
doi = {10.1093/mnras/stad3353},
url = {https://doi.org/10.1093/mnras/stad3353},
eprint = {https://academic.oup.com/mnras/advance-article-pdf/doi/10.1093/mnras/stad3353/52799695/stad3353.pdf},
}
```
Raw data
{
"_id": null,
"home_page": "https://github.com/SPEARNET/TransitFit",
"name": "transitfit",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "exoplanets,transits,fitting",
"author": "Joshua Hayes and collaborators",
"author_email": "Eamonn.Kerins@manchester.ac.uk",
"download_url": "https://files.pythonhosted.org/packages/b3/60/a8ec10c6b2795115e958f57e01b0b0aca575c34a29c6afe460d33cb3eb30/transitfit-3.4.1.tar.gz",
"platform": null,
"description": "\n# TransitFit\n\n[TransitFit](https://transitfit.readthedocs.io/en/latest/) has been developed as part of the ongoing effort of the Spectroscopy and Photometry of Exoplanet Atmospheres Research Network (SPEARNET). [SPEARNET](https://doi.org/10.1093/mnras/stz783) is undertaking a survey of exoplanet atmospheres using transmission spectroscopy.\n\n**Original Author** - Joshua Hayes (University of Manchester)\n\n**Current maintainer** - Akshay Priyadarshi (University of Manchester) [email: akshay.priyadarshi@manchester.ac.uk]\n\n## Overview\nTransitFit is designed for exoplanetary transmission spectroscopy studies and offers a flexible approach to fitting single or multiple transits of an exoplanet at different observation wavelengths. It possesses the functionality to efficiently couple host limb-darkening parameters to a range of physical models across different wavelengths, through the use of the [Limb darkening toolkit (ldtk)](https://github.com/hpparvi/ldtk) and the [Kipping parameterisations of two-parameter limb darkening models](https://arxiv.org/abs/1308.0009). TransitFit uses [batman](https://www.cfa.harvard.edu/~lkreidberg/batman/index.html) to handle transit light curve modelling, and sampling and retrieval uses the nested sampling algorithm available through [dynesty](https://dynesty.readthedocs.io/en/latest/index.html).\n\n<a name=\"installation\"></a>\n## Installation\n\nPlease note that TransitFit currently only runs on UNIX-based machines.\n\nAlong with an installation of Python 3 (with the standard Conda distribution packages), TransitFit requires the following packages to be installed:\n\n- [dynesty](https://dynesty.readthedocs.io/en/latest/index.html)\n\n- [batman](https://www.cfa.harvard.edu/~lkreidberg/batman/index.html)\n\n- [Limb darkening toolkit (ldtk)](https://github.com/hpparvi/ldtk)\n\n\n<a name=\"guide\"></a>\n## User guide\nThe documentation for TransitFit can be found [here](https://transitfit.readthedocs.io/en/latest/)\n\n<a name=\"data\"></a>\n## Observational Data\nThe observational data of WASP-127b obtained by SPEARNET and the TRANSITFIT transmission spectrum of WASP-96b can be downloaded from [here](https://cdsarc.cds.unistra.fr/viz-bin/cat/J/MNRAS/527/4936) and [here](https://vizier.cds.unistra.fr/viz-bin/VizieR?-source=J/MNRAS/527/4936).\n\n<a name=\"citing\"></a>\n## Citing TransitFit\nIf you have used TransitFit in your work, please cite the [accompanying paper](https://doi.org/10.1093/mnras/stad3353). If you are using BibTeX, you can add the following to your .bib file:\n\n```\n@article{10.1093/mnras/stad3353,\n author = {Hayes, J J C and Priyadarshi, A and Kerins, E and Awiphan, S and McDonald, I and A-thano, N and Morgan, J S and Humpage, A and Charles, S and Wright, M and Joshi, Y C and Jiang, Ing-Guey and Inyanya, T and Padjaroen, T and Munsaket, P and Chuanraksasat, P and Komonjinda, S and Kittara, P and Dhillon, V S and Marsh, T R and Reichart, D E and Poshyachinda, S and The SPEARNET Collaboration},\n title = \"{TransitFit: combined multi-instrument exoplanet transit fitting for JWST, HST and ground-based transmission spectroscopy studies}\",\n journal = {Monthly Notices of the Royal Astronomical Society},\n pages = {stad3353},\n year = {2023},\n month = {11},\n abstract = \"{We present TransitFit\u2020, a package designed to fit exoplanetary transit light-curves. TransitFit offers multi-epoch, multi-wavelength fitting of multi-telescope transit data. TransitFit allows per-telescope detrending to be performed simultaneously with transit parameter fitting, including custom detrending. Host limb darkening can be fitted using prior conditioning from stellar atmosphere models. We demonstrate TransitFit in a number of contexts. We model multi-telescope broadband optical data from the ground-based SPEARNET survey of the low-density hot-Neptune WASP-127 b and compare results to a previously published higher spectral resolution GTC/OSIRIS transmission spectrum. Using TransitFit, we fit 26 transit epochs by TESS to recover improved ephemeris of the hot-Jupiter WASP-91 b and a transit depth determined to a precision of 111\u00a0ppm. We use TransitFit to conduct an investigation into the contested presence of TTV signatures in WASP-126 b using 180 transits observed by TESS, concluding that there is no statistically significant evidence for such signatures from observations spanning 27 TESS sectors. We fit HST observations of WASP-43 b, demonstrating how TransitFit can use custom detrending algorithms to remove complex baseline systematics. Lastly, we present a transmission spectrum of the atmosphere of WASP-96 b constructed from simultaneous fitting of JWST NIRISS Early Release Observations and archive HST WFC3 transit data. The transmission spectrum shows generally good correspondence between spectral features present in both datasets, despite very different detrending requirements.}\",\n issn = {0035-8711},\n doi = {10.1093/mnras/stad3353},\n url = {https://doi.org/10.1093/mnras/stad3353},\n eprint = {https://academic.oup.com/mnras/advance-article-pdf/doi/10.1093/mnras/stad3353/52799695/stad3353.pdf},\n}\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "A package to fit exoplanet transit light curves",
"version": "3.4.1",
"project_urls": {
"Documentation": "https://transitfit.readthedocs.io/en/latest/index.html",
"Homepage": "https://github.com/SPEARNET/TransitFit"
},
"split_keywords": [
"exoplanets",
"transits",
"fitting"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4eaccf720a45dd2601e1ab8eb62625d5df2b5b087c92ded4cc12fb87ae3f3e7a",
"md5": "102d817e9edecc681905a29ba68ce340",
"sha256": "8c51b3161e63404f82150cd182226af2322c7ac589246598c060910fd9ff6a14"
},
"downloads": -1,
"filename": "transitfit-3.4.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "102d817e9edecc681905a29ba68ce340",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.6",
"size": 177742,
"upload_time": "2023-12-12T20:12:59",
"upload_time_iso_8601": "2023-12-12T20:12:59.678958Z",
"url": "https://files.pythonhosted.org/packages/4e/ac/cf720a45dd2601e1ab8eb62625d5df2b5b087c92ded4cc12fb87ae3f3e7a/transitfit-3.4.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b360a8ec10c6b2795115e958f57e01b0b0aca575c34a29c6afe460d33cb3eb30",
"md5": "c830a8401be5184998abbe4098c38ffc",
"sha256": "8dafa611e3ae43ca498066a2757c05f8f4443e7053dbd4600b95cde74d21b0b3"
},
"downloads": -1,
"filename": "transitfit-3.4.1.tar.gz",
"has_sig": false,
"md5_digest": "c830a8401be5184998abbe4098c38ffc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 172022,
"upload_time": "2023-12-12T20:13:02",
"upload_time_iso_8601": "2023-12-12T20:13:02.204680Z",
"url": "https://files.pythonhosted.org/packages/b3/60/a8ec10c6b2795115e958f57e01b0b0aca575c34a29c6afe460d33cb3eb30/transitfit-3.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-12 20:13:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "SPEARNET",
"github_project": "TransitFit",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "transitfit"
}