├── .gitattributes ├── .gitignore ├── LICENSE ├── Pipfile ├── Project.toml ├── README.md ├── bench ├── .gitignore ├── Project.toml ├── bench.jl ├── bench.py ├── benchmark_data.csv ├── compare_times.py ├── generate.jl ├── julia_times.csv ├── newbench.py ├── plot.jl └── python_times.csv ├── butterpy ├── __init__.py ├── core.py ├── distributions.py ├── flutter.py ├── io │ ├── __init__.py │ ├── fits.py │ └── pkl.py ├── photometry │ ├── __init__.py │ ├── core.py │ └── filterdata │ │ └── Roman_effarea_v8_median_20240301.csv ├── utils │ ├── __init__.py │ ├── activelat.py │ ├── animation.py │ ├── blackbody.py │ ├── diffrot.py │ ├── joyslaw.py │ ├── normalization.py │ ├── plots.py │ └── spotevol.py └── version.py ├── cov.sh ├── deprecated ├── __init__.py ├── constants.py ├── deprecated.py ├── regions.py ├── spots.py └── tests.py ├── diagnostics ├── diagnostic_plots.ipynb ├── diagnostics.csv └── run_diagnostic_models.py ├── docs ├── Makefile ├── butterpy.rst ├── conf.py ├── index.rst └── make.bat ├── misc ├── butterfly.png ├── config.py ├── generate.py ├── lightcurve.png ├── simulate_lightcurves.py └── simulate_lightcurves_batch.py ├── notebooks ├── cycle_testing.ipynb ├── solar_normalization.ipynb └── surface_fig.ipynb ├── pyproject.toml ├── scripts └── test_flutter.py ├── setup.py ├── src ├── Butterfly.jl ├── plots.jl ├── regions.jl ├── simulate.jl └── spots.jl ├── tests ├── Project.toml ├── __init__.py ├── butterpy_test.py ├── data │ ├── default_flux.npy │ ├── default_flux_roman.npy │ └── default_surface.fits ├── runtests.jl ├── test_distributions.py └── test_temperatures.py └── visualization ├── animate_regions_rate.py ├── animate_regions_tau.py └── visualize_active_latitudes.py /.gitattributes: -------------------------------------------------------------------------------- 1 | *ipynb -linguist-detectable 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/LICENSE -------------------------------------------------------------------------------- /Pipfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/Pipfile -------------------------------------------------------------------------------- /Project.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/Project.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/README.md -------------------------------------------------------------------------------- /bench/.gitignore: -------------------------------------------------------------------------------- 1 | data -------------------------------------------------------------------------------- /bench/Project.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/bench/Project.toml -------------------------------------------------------------------------------- /bench/bench.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/bench/bench.jl -------------------------------------------------------------------------------- /bench/bench.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/bench/bench.py -------------------------------------------------------------------------------- /bench/benchmark_data.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/bench/benchmark_data.csv -------------------------------------------------------------------------------- /bench/compare_times.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/bench/compare_times.py -------------------------------------------------------------------------------- /bench/generate.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/bench/generate.jl -------------------------------------------------------------------------------- /bench/julia_times.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/bench/julia_times.csv -------------------------------------------------------------------------------- /bench/newbench.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/bench/newbench.py -------------------------------------------------------------------------------- /bench/plot.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/bench/plot.jl -------------------------------------------------------------------------------- /bench/python_times.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/bench/python_times.csv -------------------------------------------------------------------------------- /butterpy/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/butterpy/__init__.py -------------------------------------------------------------------------------- /butterpy/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/butterpy/core.py -------------------------------------------------------------------------------- /butterpy/distributions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/butterpy/distributions.py -------------------------------------------------------------------------------- /butterpy/flutter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/butterpy/flutter.py -------------------------------------------------------------------------------- /butterpy/io/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/butterpy/io/__init__.py -------------------------------------------------------------------------------- /butterpy/io/fits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/butterpy/io/fits.py -------------------------------------------------------------------------------- /butterpy/io/pkl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/butterpy/io/pkl.py -------------------------------------------------------------------------------- /butterpy/photometry/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/butterpy/photometry/__init__.py -------------------------------------------------------------------------------- /butterpy/photometry/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/butterpy/photometry/core.py -------------------------------------------------------------------------------- /butterpy/photometry/filterdata/Roman_effarea_v8_median_20240301.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/butterpy/photometry/filterdata/Roman_effarea_v8_median_20240301.csv -------------------------------------------------------------------------------- /butterpy/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /butterpy/utils/activelat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/butterpy/utils/activelat.py -------------------------------------------------------------------------------- /butterpy/utils/animation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/butterpy/utils/animation.py -------------------------------------------------------------------------------- /butterpy/utils/blackbody.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/butterpy/utils/blackbody.py -------------------------------------------------------------------------------- /butterpy/utils/diffrot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/butterpy/utils/diffrot.py -------------------------------------------------------------------------------- /butterpy/utils/joyslaw.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/butterpy/utils/joyslaw.py -------------------------------------------------------------------------------- /butterpy/utils/normalization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/butterpy/utils/normalization.py -------------------------------------------------------------------------------- /butterpy/utils/plots.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/butterpy/utils/plots.py -------------------------------------------------------------------------------- /butterpy/utils/spotevol.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/butterpy/utils/spotevol.py -------------------------------------------------------------------------------- /butterpy/version.py: -------------------------------------------------------------------------------- 1 | __version__ = "1.1.0" 2 | -------------------------------------------------------------------------------- /cov.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/cov.sh -------------------------------------------------------------------------------- /deprecated/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /deprecated/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/deprecated/constants.py -------------------------------------------------------------------------------- /deprecated/deprecated.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/deprecated/deprecated.py -------------------------------------------------------------------------------- /deprecated/regions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/deprecated/regions.py -------------------------------------------------------------------------------- /deprecated/spots.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/deprecated/spots.py -------------------------------------------------------------------------------- /deprecated/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/deprecated/tests.py -------------------------------------------------------------------------------- /diagnostics/diagnostic_plots.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/diagnostics/diagnostic_plots.ipynb -------------------------------------------------------------------------------- /diagnostics/diagnostics.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/diagnostics/diagnostics.csv -------------------------------------------------------------------------------- /diagnostics/run_diagnostic_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/diagnostics/run_diagnostic_models.py -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/butterpy.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/docs/butterpy.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/docs/make.bat -------------------------------------------------------------------------------- /misc/butterfly.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/misc/butterfly.png -------------------------------------------------------------------------------- /misc/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/misc/config.py -------------------------------------------------------------------------------- /misc/generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/misc/generate.py -------------------------------------------------------------------------------- /misc/lightcurve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/misc/lightcurve.png -------------------------------------------------------------------------------- /misc/simulate_lightcurves.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/misc/simulate_lightcurves.py -------------------------------------------------------------------------------- /misc/simulate_lightcurves_batch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/misc/simulate_lightcurves_batch.py -------------------------------------------------------------------------------- /notebooks/cycle_testing.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/notebooks/cycle_testing.ipynb -------------------------------------------------------------------------------- /notebooks/solar_normalization.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/notebooks/solar_normalization.ipynb -------------------------------------------------------------------------------- /notebooks/surface_fig.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/notebooks/surface_fig.ipynb -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [build-system] 2 | requires = ["setuptools", "wheel"] -------------------------------------------------------------------------------- /scripts/test_flutter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/scripts/test_flutter.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/setup.py -------------------------------------------------------------------------------- /src/Butterfly.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/src/Butterfly.jl -------------------------------------------------------------------------------- /src/plots.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/src/plots.jl -------------------------------------------------------------------------------- /src/regions.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/src/regions.jl -------------------------------------------------------------------------------- /src/simulate.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/src/simulate.jl -------------------------------------------------------------------------------- /src/spots.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/src/spots.jl -------------------------------------------------------------------------------- /tests/Project.toml: -------------------------------------------------------------------------------- 1 | [deps] 2 | Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" 3 | -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/butterpy_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/tests/butterpy_test.py -------------------------------------------------------------------------------- /tests/data/default_flux.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/tests/data/default_flux.npy -------------------------------------------------------------------------------- /tests/data/default_flux_roman.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/tests/data/default_flux_roman.npy -------------------------------------------------------------------------------- /tests/data/default_surface.fits: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/tests/data/default_surface.fits -------------------------------------------------------------------------------- /tests/runtests.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/tests/runtests.jl -------------------------------------------------------------------------------- /tests/test_distributions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/tests/test_distributions.py -------------------------------------------------------------------------------- /tests/test_temperatures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/tests/test_temperatures.py -------------------------------------------------------------------------------- /visualization/animate_regions_rate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/visualization/animate_regions_rate.py -------------------------------------------------------------------------------- /visualization/animate_regions_tau.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/visualization/animate_regions_tau.py -------------------------------------------------------------------------------- /visualization/visualize_active_latitudes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zclaytor/butterpy/HEAD/visualization/visualize_active_latitudes.py --------------------------------------------------------------------------------