PyFADO is in beta version.
Project description
pyFADO
in processing.... Beta version
Description: This repository contains modules for reading and plotting the output files of FADO in python 3. It also contains a Jupyter Notebook with a quickstart guide on how to run the FADO spectral synthesis code.
You can start by clicking at: Quick Start Guide
pyFADO is a Python package for performing spectral synthesis analysis with FADO.
Overview FADO is a popular code for performing stellar population synthesis modeling of galaxies. pyFADO extends FADO by providing a Python interface for constructing, fitting, and analyzing synthetic spectra.
Some key features of pyFADO include:
Efficient implementation of FADO's spectral synthesis algorithm in Python Ability to easily load and manipulate observational data Automatic parameter optimization using Markov Chain Monte Carlo (MCMC) methods Flexible and customizable model construction and fitting options Extensive plotting capabilities for visualizing model fits and results Installation To install pyFADO, simply clone the repository and install the required dependencies:
bash Copy code git clone https://github.com/username/pyfado.git cd pyfado pip install -r requirements.txt Usage To use pyFADO, you will need to provide a set of observational data and a model grid of synthetic spectra. Once you have loaded your data and model, you can run the fitting algorithm using the pyfado.fit() function.
Here's an example of how to use pyFADO to fit a model to some mock data:
python Copy code import pyfado
Load observational data
data = pyfado.load_data('data.fits')
Load model grid
model = pyfado.load_model('model.fits')
Fit model to data
result = pyfado.fit(data, model)
Plot the results
result.plot() Documentation For more information on how to use pyFADO, please refer to the documentation. You can generate the documentation locally by running:
go Copy code cd docs make html The documentation will then be available in docs/_build/html/index.html.
Contributing If you would like to contribute to pyFADO, please submit a pull request with your changes. We welcome contributions of all kinds, including bug fixes, new features, and documentation improvements.
License pyFADO is released under the MIT License. See the LICENSE file for details.
author: Jean Michel Gomes
published: 04/06/2019
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file PyFADO-0.0.1.tar.gz
.
File metadata
- Download URL: PyFADO-0.0.1.tar.gz
- Upload date:
- Size: 28.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb81855642ed1b828283ebdda03726a7095a1ed33b5f73f3f9629b5c90e92785 |
|
MD5 | fc7865b52edef91e42f86d493a1b932b |
|
BLAKE2b-256 | dbf2a870ce97ce779be686602663298b9a948c87a9d2ba5f8fa2664a49fe7958 |