ezpadova
A python package that allows you to download PADOVA isochrones directly from their website
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.4%) to scientific vocabulary
Repository
A python package that allows you to download PADOVA isochrones directly from their website
Basic Info
- Host: GitHub
- Owner: mfouesneau
- License: mit
- Language: Python
- Default Branch: master
- Homepage: http://mfouesneau.github.io/ezpadova/
- Size: 181 KB
Statistics
- Stars: 42
- Watchers: 4
- Forks: 21
- Open Issues: 0
- Releases: 4
Metadata Files
README.md
EZPADOVA -- A python package that allows you to download PADOVA isochrones directly from their website
This small package provides a direct interface to the PADOVA/PARSEC isochrone webpage (http://stev.oapd.inaf.it/cgi-bin/cmd). It compiles the URL needed to query the website and retrieves the data into a python variable.
This package has been tested on Python 3.9, 3.10, 3.11, 3.12, and 3.13 through the GitHub actions CI.
ℹ️ If you use this package, please use the citation information. Please do not forget also to cite the PARSEC work listed on their website.
New in version 2.0
- Updated the interface to the new PADOVA website (i.e. >=3.8) [minor changes in the form format from 3.7]
- New function
get_isochronedoes all the slices directly (combinesget_Z_isochrones,get_t_isochrones, andget_one_isochronewhich are now deprecated.) get_isochronehandles ages, log ages, Z, and [M/H] as inputs (see documentation).- Most of the code has been rewritten to be more robust and easier to maintain. In particular, the parsing of the online form has been improved.
- Many integration tests to keep checking the package interface.
- The output format is now a
pandas.DataFrameinstead of the internal format. (though previous aliases of columns are no longer available) - added
resample_evolution_phasefunction to resample thelabelinto a continuous evolution phase instead of discrete labels. - added
interpolate.QuickInterpolatorto quickly interpolate isochrones over (logage, MH, evolution phase) - Documentation has been updated and (hopefully) improved.
Available photometric systems, parameters, and default values: see internal documentation
Installation
Install with pip
pip install git+https://github.com/mfouesneau/ezpadova
(--user if you want to install it in your user profile)
Manual installation
download the repository and pip install from it
python
git clone https://github.com/mfouesneau/ezpadova
cd ezpadova
python -m pip install .
Example Usage
Since v2.0, ezpadova combines all queries through a single function, get_isochrones.
The following example queries the Padova service to retrieve a set of isochrones spanning ages and metallicities
python
import ezpadova
import matplotlib.pyplot as plt
r = ezpadova.get_isochrones(photsys_file='gaiaEDR3', logage=(6, 10, 0.2), MH=(-2, 1, 0.4))
The following example queries the Padova service to retrieve log(age/yr)-space isochrones at solar metallicity and the Gaia eDR3 photometry.
python
import ezpadova
import matplotlib.pyplot as plt
r = ezpadova.get_isochrones(logage=(6, 7, 0.1), MH=(0, 0, 0), photsys_file='gaiaEDR3')
plt.scatter(r['logTe'], r['logL'], c=r['logAge'], edgecolor='None')
plt.show()
Owner
- Name: Morgan Fouesneau
- Login: mfouesneau
- Kind: user
- Website: http://mfouesneau.github.io/
- Twitter: mfouesneau
- Repositories: 30
- Profile: https://github.com/mfouesneau
@mfouesneau@mastodon.online
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Fouesneau" given-names: "Morgan" orcid: "https://orcid.org/0000-0001-9256-5516" title: "ezpadova" version: 2.0.4 date-released: 2025-04-08 url: "https://github.com/mfouesneau/ezpadova"
GitHub Events
Total
- Create event: 3
- Release event: 2
- Issues event: 12
- Watch event: 13
- Issue comment event: 20
- Push event: 16
- Pull request review event: 1
- Pull request event: 2
- Fork event: 4
Last Year
- Create event: 3
- Release event: 2
- Issues event: 12
- Watch event: 13
- Issue comment event: 20
- Push event: 16
- Pull request review event: 1
- Pull request event: 2
- Fork event: 4
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 6
- Total pull requests: 1
- Average time to close issues: 7 days
- Average time to close pull requests: about 2 months
- Total issue authors: 5
- Total pull request authors: 1
- Average comments per issue: 2.33
- Average comments per pull request: 2.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 6
- Pull requests: 1
- Average time to close issues: 7 days
- Average time to close pull requests: about 2 months
- Issue authors: 5
- Pull request authors: 1
- Average comments per issue: 2.33
- Average comments per pull request: 2.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- martinmestre (2)
- ven1235 (1)
- joannawooastro (1)
- niteshchandra039 (1)
- mfouesneau (1)
- willcerny (1)
- ritviksainarayan (1)
Pull Request Authors
- mfouesneau (1)
- willcerny (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v4 composite
- actions/setup-python v5 composite
- actions/checkout v4 composite
- actions/configure-pages v5 composite
- actions/deploy-pages v4 composite
- actions/upload-pages-artifact v3 composite
- actions/checkout v4 composite
- chartboost/ruff-action v1 composite
- beautifulsoup4 *
- numpy *
- pandas *
- requests *
- scipy *