%global _empty_manifest_terminate_build 0
Name: python-citlalicue
Version: 0.7.0
Release: 1
Summary: Create stellar light curves!
License: GNU General Public License v3 (GPLv3)
URL: https://github.com/oscaribv/citlalicue
Source0: https://mirrors.aliyun.com/pypi/web/packages/95/0e/95ffba4cef4480be651adbd5d0720d307c38736dbfd530a3249dfad44cac/citlalicue-0.7.0.tar.gz
BuildArch: noarch
Requires: python3-numpy
Requires: python3-matplotlib
Requires: python3-scipy
Requires: python3-pytransit
Requires: python3-george
Requires: python3-emcee
%description
# Citlalicue
### Oscar Barragán (Sept 2020)
*_Citlalicue_* is the name of the Aztec Goddess who created the stars.
This code allows you to mimic Citlalicue powers to create and manipulate stellar light curves.
The actual version of the code allows you to create synthetic stellar light curves (transits, stellar variability and white noise)
and detrend light curves using Gaussian Processes (GPs).
##### Dependencies:
* Numpy
* Matplotlib
* Scipy
* [PyTransit](https://github.com/hpparvi/PyTransit)
* [george](https://github.com/dfm/george)
##### Try it now!
Install it by typing
```
pip install citlalicue
```
### Simulate light curves
Transits are implemented using [PyTransit](https://github.com/hpparvi/PyTransit),
while the stellar variability is added from samples of a Quasi-Periodic Kernel with covariance given by
Check the example of how to use Citlalicue to create light curves in the link
[example_light_curves.ipynb](https://github.com/oscaribv/citlalicue/blob/master/example_light_curves.ipynb).
### Detrend light curves
Check the example of how to use Citlalicue to detrend light curves in the link
[example_detrending.ipynb](https://github.com/oscaribv/citlalicue/blob/master/example_detrending.ipynb).
%package -n python3-citlalicue
Summary: Create stellar light curves!
Provides: python-citlalicue
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
%description -n python3-citlalicue
# Citlalicue
### Oscar Barragán (Sept 2020)
*_Citlalicue_* is the name of the Aztec Goddess who created the stars.
This code allows you to mimic Citlalicue powers to create and manipulate stellar light curves.
The actual version of the code allows you to create synthetic stellar light curves (transits, stellar variability and white noise)
and detrend light curves using Gaussian Processes (GPs).
##### Dependencies:
* Numpy
* Matplotlib
* Scipy
* [PyTransit](https://github.com/hpparvi/PyTransit)
* [george](https://github.com/dfm/george)
##### Try it now!
Install it by typing
```
pip install citlalicue
```
### Simulate light curves
Transits are implemented using [PyTransit](https://github.com/hpparvi/PyTransit),
while the stellar variability is added from samples of a Quasi-Periodic Kernel with covariance given by
Check the example of how to use Citlalicue to create light curves in the link
[example_light_curves.ipynb](https://github.com/oscaribv/citlalicue/blob/master/example_light_curves.ipynb).
### Detrend light curves
Check the example of how to use Citlalicue to detrend light curves in the link
[example_detrending.ipynb](https://github.com/oscaribv/citlalicue/blob/master/example_detrending.ipynb).
%package help
Summary: Development documents and examples for citlalicue
Provides: python3-citlalicue-doc
%description help
# Citlalicue
### Oscar Barragán (Sept 2020)
*_Citlalicue_* is the name of the Aztec Goddess who created the stars.
This code allows you to mimic Citlalicue powers to create and manipulate stellar light curves.
The actual version of the code allows you to create synthetic stellar light curves (transits, stellar variability and white noise)
and detrend light curves using Gaussian Processes (GPs).
##### Dependencies:
* Numpy
* Matplotlib
* Scipy
* [PyTransit](https://github.com/hpparvi/PyTransit)
* [george](https://github.com/dfm/george)
##### Try it now!
Install it by typing
```
pip install citlalicue
```
### Simulate light curves
Transits are implemented using [PyTransit](https://github.com/hpparvi/PyTransit),
while the stellar variability is added from samples of a Quasi-Periodic Kernel with covariance given by
Check the example of how to use Citlalicue to create light curves in the link
[example_light_curves.ipynb](https://github.com/oscaribv/citlalicue/blob/master/example_light_curves.ipynb).
### Detrend light curves
Check the example of how to use Citlalicue to detrend light curves in the link
[example_detrending.ipynb](https://github.com/oscaribv/citlalicue/blob/master/example_detrending.ipynb).
%prep
%autosetup -n citlalicue-0.7.0
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-citlalicue -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Tue Jun 20 2023 Python_Bot - 0.7.0-1
- Package Spec generated