AstroToolkit 1.7.1__tar.gz → 2.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- astrotoolkit-2.0.1/.github/workflows/publish.yml +93 -0
- astrotoolkit-2.0.1/.gitignore +21 -0
- astrotoolkit-2.0.1/.readthedocs.yaml +16 -0
- astrotoolkit-2.0.1/MANIFEST.in +1 -0
- astrotoolkit-2.0.1/PKG-INFO +60 -0
- astrotoolkit-2.0.1/README.md +33 -0
- astrotoolkit-2.0.1/build.sh +0 -0
- astrotoolkit-2.0.1/changelog.md +148 -0
- astrotoolkit-2.0.1/docs/Makefile +20 -0
- astrotoolkit-2.0.1/docs/build.sh +18 -0
- astrotoolkit-2.0.1/docs/make.bat +35 -0
- astrotoolkit-2.0.1/docs/requirements.txt +7 -0
- astrotoolkit-2.0.1/docs/sim_rtd.sh +1 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/anim.py +374 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/build.sh +2 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/corrected_image.png +0 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/data.py +77 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/fitted_spec.png +0 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/folded_lightcurve.png +0 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/hrd.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/hrd.png +0 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/image_1.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/image_2.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/lightcurve.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/lightcurve.png +0 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/media/videos/anim/1080p60/Anim.mp4 +0 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/pspec.png +0 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/sed.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/sed.png +0 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/spec.png +0 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/spectrum.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/uncorrected_image.png +0 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/utilities.py +107 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/vizier_1.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/_static/animations/vizier_2.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/_static/erc_logo_dark.png +0 -0
- astrotoolkit-2.0.1/docs/source/_static/erc_logo_light.png +0 -0
- astrotoolkit-2.0.1/docs/source/_static/logo/icon.png +0 -0
- astrotoolkit-2.0.1/docs/source/_static/logo/icon_is.svg +111 -0
- astrotoolkit-2.0.1/docs/source/_static/logo/logo.png +0 -0
- astrotoolkit-2.0.1/docs/source/_static/logo/logo_is.svg +103 -0
- astrotoolkit-2.0.1/docs/source/_static/stylesheet.css +74 -0
- astrotoolkit-2.0.1/docs/source/_templates/autosummary/class.rst +53 -0
- astrotoolkit-2.0.1/docs/source/additional_tutorials.rst +14 -0
- astrotoolkit-2.0.1/docs/source/conf.py +276 -0
- astrotoolkit-2.0.1/docs/source/configuration.rst +10 -0
- astrotoolkit-2.0.1/docs/source/extending_atk.rst +10 -0
- astrotoolkit-2.0.1/docs/source/getting_started.rst +89 -0
- astrotoolkit-2.0.1/docs/source/index.rst +50 -0
- astrotoolkit-2.0.1/docs/source/modules/generated/ATK.Models.DataPages.rst +56 -0
- astrotoolkit-2.0.1/docs/source/modules/generated/ATK.Models.DataSet.rst +78 -0
- astrotoolkit-2.0.1/docs/source/modules/generated/ATK.Models.DataTable.rst +60 -0
- astrotoolkit-2.0.1/docs/source/modules/generated/ATK.Models.HRD.rst +74 -0
- astrotoolkit-2.0.1/docs/source/modules/generated/ATK.Models.Image.rst +68 -0
- astrotoolkit-2.0.1/docs/source/modules/generated/ATK.Models.Lightcurve.rst +100 -0
- astrotoolkit-2.0.1/docs/source/modules/generated/ATK.Models.Powspec.rst +74 -0
- astrotoolkit-2.0.1/docs/source/modules/generated/ATK.Models.Record.rst +68 -0
- astrotoolkit-2.0.1/docs/source/modules/generated/ATK.Models.SED.rst +76 -0
- astrotoolkit-2.0.1/docs/source/modules/generated/ATK.Models.Spectrum.rst +82 -0
- astrotoolkit-2.0.1/docs/source/modules/generated/ATK.Models.Target.rst +64 -0
- astrotoolkit-2.0.1/docs/source/modules/generated/ATK.Tools.query.rst +6 -0
- astrotoolkit-2.0.1/docs/source/modules/generated/ATK.Tools.read.rst +6 -0
- astrotoolkit-2.0.1/docs/source/modules/generated/ATK.Visualisation.grid.rst +6 -0
- astrotoolkit-2.0.1/docs/source/modules/generated/ATK.base.Container.rst +35 -0
- astrotoolkit-2.0.1/docs/source/modules/generated/ATK.base.DataFrameIOMixin.rst +37 -0
- astrotoolkit-2.0.1/docs/source/modules/generated/ATK.base.FITSIOMixin.rst +35 -0
- astrotoolkit-2.0.1/docs/source/modules/generated/ATK.base.TableIOMixin.rst +37 -0
- astrotoolkit-2.0.1/docs/source/modules/models.rst +21 -0
- astrotoolkit-2.0.1/docs/source/modules/tools.rst +12 -0
- astrotoolkit-2.0.1/docs/source/modules/utils.rst +22 -0
- astrotoolkit-2.0.1/docs/source/modules/visualisation.rst +11 -0
- astrotoolkit-2.0.1/docs/source/modules.rst +12 -0
- astrotoolkit-2.0.1/docs/source/tutorials/GALLERY_HEADER.rst +1 -0
- astrotoolkit-2.0.1/docs/source/tutorials/_intro_image.py +24 -0
- astrotoolkit-2.0.1/docs/source/tutorials/_utilities.py +110 -0
- astrotoolkit-2.0.1/docs/source/tutorials/configuration/GALLERY_HEADER.rst +1 -0
- astrotoolkit-2.0.1/docs/source/tutorials/configuration/config.py +94 -0
- astrotoolkit-2.0.1/docs/source/tutorials/configuration/config_keys.py +14 -0
- astrotoolkit-2.0.1/docs/source/tutorials/datapages/GALLERY_HEADER.rst +1 -0
- astrotoolkit-2.0.1/docs/source/tutorials/datapages/custom_index.rst +7 -0
- astrotoolkit-2.0.1/docs/source/tutorials/datapages/datapage_hrd.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/datapages/datapage_image.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/datapages/datapage_lc.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/datapages/datapage_plotting.py +115 -0
- astrotoolkit-2.0.1/docs/source/tutorials/datapages/datapage_sed.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/datapages/datapage_spec.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/datatables/GALLERY_HEADER.rst +1 -0
- astrotoolkit-2.0.1/docs/source/tutorials/datatables/custom_index.rst +7 -0
- astrotoolkit-2.0.1/docs/source/tutorials/datatables/datatables.py +50 -0
- astrotoolkit-2.0.1/docs/source/tutorials/datatables/example_table.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/extension/GALLERY_HEADER.rst +1 -0
- astrotoolkit-2.0.1/docs/source/tutorials/extension/allwise_data_1.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/extension/allwise_data_2.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/extension/external_data.py +187 -0
- astrotoolkit-2.0.1/docs/source/tutorials/extension/external_lightcurve.dat +3914 -0
- astrotoolkit-2.0.1/docs/source/tutorials/extension/external_spec.fits +4380 -11
- astrotoolkit-2.0.1/docs/source/tutorials/extension/image_data_1.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/extension/image_data_2.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/extension/save.txt +92 -0
- astrotoolkit-2.0.1/docs/source/tutorials/extension/vizier.py +268 -0
- astrotoolkit-2.0.1/docs/source/tutorials/getting_started/GALLERY_HEADER.rst +1 -0
- astrotoolkit-2.0.1/docs/source/tutorials/getting_started/custom_index.rst +8 -0
- astrotoolkit-2.0.1/docs/source/tutorials/getting_started/data_query.py +225 -0
- astrotoolkit-2.0.1/docs/source/tutorials/getting_started/data_saving.py +93 -0
- astrotoolkit-2.0.1/docs/source/tutorials/getting_started/example_data.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/getting_started/example_data.fits.gz.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/hrds/GALLERY_HEADER.rst +1 -0
- astrotoolkit-2.0.1/docs/source/tutorials/hrds/custom_index.rst +8 -0
- astrotoolkit-2.0.1/docs/source/tutorials/hrds/example_hrd.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/hrds/example_hrd_2.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/hrds/hrd_plotting.py +60 -0
- astrotoolkit-2.0.1/docs/source/tutorials/hrds/hrd_query.py +45 -0
- astrotoolkit-2.0.1/docs/source/tutorials/images/GALLERY_HEADER.rst +1 -0
- astrotoolkit-2.0.1/docs/source/tutorials/images/custom_index.rst +9 -0
- astrotoolkit-2.0.1/docs/source/tutorials/images/example_image_1.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/images/example_image_2.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/images/example_image_4.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/images/image_plotting.py +106 -0
- astrotoolkit-2.0.1/docs/source/tutorials/images/image_query.py +124 -0
- astrotoolkit-2.0.1/docs/source/tutorials/images/image_query_2.py +87 -0
- astrotoolkit-2.0.1/docs/source/tutorials/intro_image.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/io/GALLERY_HEADER.rst +1 -0
- astrotoolkit-2.0.1/docs/source/tutorials/io/custom_index.rst +7 -0
- astrotoolkit-2.0.1/docs/source/tutorials/io/export.py +63 -0
- astrotoolkit-2.0.1/docs/source/tutorials/lightcurves/GALLERY_HEADER.rst +1 -0
- astrotoolkit-2.0.1/docs/source/tutorials/lightcurves/custom_index.rst +11 -0
- astrotoolkit-2.0.1/docs/source/tutorials/lightcurves/example_folded_lc.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/lightcurves/example_lightcurve.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/lightcurves/example_lightcurve_2.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/lightcurves/example_lightcurve_3.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/lightcurves/example_lightcurve_4.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/lightcurves/example_lightcurve_5.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/lightcurves/example_pspec.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/lightcurves/folded_plotting.py +115 -0
- astrotoolkit-2.0.1/docs/source/tutorials/lightcurves/lightcurve_manipulation.py +121 -0
- astrotoolkit-2.0.1/docs/source/tutorials/lightcurves/lightcurve_plotting.py +111 -0
- astrotoolkit-2.0.1/docs/source/tutorials/lightcurves/lightcurve_query.py +152 -0
- astrotoolkit-2.0.1/docs/source/tutorials/lightcurves/lightcurve_timeseries.py +171 -0
- astrotoolkit-2.0.1/docs/source/tutorials/merging/GALLERY_HEADER.rst +1 -0
- astrotoolkit-2.0.1/docs/source/tutorials/merging/asassn_lightcurve.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/merging/custom_index.rst +7 -0
- astrotoolkit-2.0.1/docs/source/tutorials/merging/gaia_lightcurve.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/merging/merging_datasets.py +42 -0
- astrotoolkit-2.0.1/docs/source/tutorials/multiple_targets/GALLERY_HEADER.rst +1 -0
- astrotoolkit-2.0.1/docs/source/tutorials/multiple_targets/custom_index.rst +9 -0
- astrotoolkit-2.0.1/docs/source/tutorials/multiple_targets/multi_target_analysis.py +36 -0
- astrotoolkit-2.0.1/docs/source/tutorials/multiple_targets/multi_target_plotting.py +52 -0
- astrotoolkit-2.0.1/docs/source/tutorials/multiple_targets/multi_target_query.py +121 -0
- astrotoolkit-2.0.1/docs/source/tutorials/multiple_targets/multiple_images.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/multiple_targets/multiple_lightcurves.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/seds/GALLERY_HEADER.rst +1 -0
- astrotoolkit-2.0.1/docs/source/tutorials/seds/custom_index.rst +8 -0
- astrotoolkit-2.0.1/docs/source/tutorials/seds/example_sed.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/seds/example_spectrum.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/seds/sed_plotting.py +42 -0
- astrotoolkit-2.0.1/docs/source/tutorials/seds/sed_query.py +56 -0
- astrotoolkit-2.0.1/docs/source/tutorials/spectra/GALLERY_HEADER.rst +1 -0
- astrotoolkit-2.0.1/docs/source/tutorials/spectra/custom_index.rst +9 -0
- astrotoolkit-2.0.1/docs/source/tutorials/spectra/example_sed.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/spectra/example_spectrum.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/spectra/spectral_analysis.py +88 -0
- astrotoolkit-2.0.1/docs/source/tutorials/spectra/spectrum_plotting.py +45 -0
- astrotoolkit-2.0.1/docs/source/tutorials/spectra/spectrum_query.py +60 -0
- astrotoolkit-2.0.1/docs/source/tutorials/workflows/GALLERY_HEADER.rst +1 -0
- astrotoolkit-2.0.1/docs/source/tutorials/workflows/assasn_data.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/workflows/custom_index.rst +7 -0
- astrotoolkit-2.0.1/docs/source/tutorials/workflows/tess_data.fits.gz +0 -0
- astrotoolkit-2.0.1/docs/source/tutorials/workflows/workflows.py +85 -0
- astrotoolkit-2.0.1/pyproject.toml +57 -0
- astrotoolkit-2.0.1/src/ATK/Config/__init__.py +4 -0
- astrotoolkit-2.0.1/src/ATK/Models/__init__.py +13 -0
- astrotoolkit-2.0.1/src/ATK/Tools/__init__.py +4 -0
- astrotoolkit-2.0.1/src/ATK/Tools/query.py +229 -0
- astrotoolkit-2.0.1/src/ATK/Tools/query.pyi +14 -0
- astrotoolkit-2.0.1/src/ATK/Tools/read.py +22 -0
- astrotoolkit-2.0.1/src/ATK/Visualisation/__init__.py +3 -0
- astrotoolkit-2.0.1/src/ATK/Visualisation/datapages.py +48 -0
- astrotoolkit-2.0.1/src/ATK/__init__.py +5 -0
- astrotoolkit-2.0.1/src/ATK/base/__init__.py +3 -0
- astrotoolkit-2.0.1/src/ATK/configuration/alias_config.py +22 -0
- astrotoolkit-2.0.1/src/ATK/configuration/base_config.py +37 -0
- astrotoolkit-2.0.1/src/ATK/configuration/defaults/alias_defaults.py +17 -0
- astrotoolkit-2.0.1/src/ATK/configuration/defaults/base_defaults.py +51 -0
- astrotoolkit-2.0.1/src/ATK/configuration/defaults/epoch_defaults.py +34 -0
- astrotoolkit-2.0.1/src/ATK/configuration/defaults/overlay_defaults.py +61 -0
- astrotoolkit-2.0.1/src/ATK/configuration/defaults/survey_defaults.py +102 -0
- astrotoolkit-2.0.1/src/ATK/configuration/epoch_config.py +43 -0
- astrotoolkit-2.0.1/src/ATK/configuration/overlay_config.py +56 -0
- astrotoolkit-2.0.1/src/ATK/configuration/parser_config/ParserConfig.py +206 -0
- astrotoolkit-2.0.1/src/ATK/configuration/survey_config.py +94 -0
- astrotoolkit-2.0.1/src/ATK/configuration/yaml_config/YAMLConfig.py +245 -0
- astrotoolkit-2.0.1/src/ATK/configuration/yaml_config/yaml_io.py +61 -0
- astrotoolkit-2.0.1/src/ATK/io/files/read.py +263 -0
- astrotoolkit-2.0.1/src/ATK/io/files/writing.py +79 -0
- astrotoolkit-2.0.1/src/ATK/io/plot_io.py +252 -0
- astrotoolkit-2.0.1/src/ATK/io/struct_stdout.py +561 -0
- astrotoolkit-2.0.1/src/ATK/io/structure_io.py +421 -0
- astrotoolkit-2.0.1/src/ATK/io/target_io.py +116 -0
- astrotoolkit-2.0.1/src/ATK/plotting/colours.py +92 -0
- astrotoolkit-2.0.1/src/ATK/plotting/datapage/plot_datapage.py +358 -0
- astrotoolkit-2.0.1/src/ATK/plotting/datatable/plot_datatable.py +71 -0
- astrotoolkit-2.0.1/src/ATK/plotting/formatting.py +138 -0
- astrotoolkit-2.0.1/src/ATK/plotting/hrd/backdrop_hrd_allmags.fits.gz +0 -0
- astrotoolkit-2.0.1/src/ATK/plotting/hrd/plot_hrd.py +176 -0
- astrotoolkit-2.0.1/src/ATK/plotting/image/false_colour.py +89 -0
- astrotoolkit-2.0.1/src/ATK/plotting/image/plot_image.py +323 -0
- astrotoolkit-2.0.1/src/ATK/plotting/lightcurve/folded_params.py +211 -0
- astrotoolkit-2.0.1/src/ATK/plotting/lightcurve/plot_lightcurve.py +276 -0
- astrotoolkit-2.0.1/src/ATK/plotting/plotting_core.py +15 -0
- astrotoolkit-2.0.1/src/ATK/plotting/powspec/plot_powspec.py +39 -0
- astrotoolkit-2.0.1/src/ATK/plotting/sed/plot_sed.py +148 -0
- astrotoolkit-2.0.1/src/ATK/plotting/spectrum/plot_spectrum.py +89 -0
- astrotoolkit-2.0.1/src/ATK/plotting/spectrum/spectrum_overlay.py +118 -0
- astrotoolkit-2.0.1/src/ATK/queries/arguments.py +111 -0
- astrotoolkit-2.0.1/src/ATK/queries/checksum.py +67 -0
- astrotoolkit-2.0.1/src/ATK/queries/datatable/datatable_query.py +100 -0
- astrotoolkit-2.0.1/src/ATK/queries/hrd/gaia_query.py +44 -0
- astrotoolkit-2.0.1/src/ATK/queries/image/2mass_query.py +39 -0
- astrotoolkit-2.0.1/src/ATK/queries/image/_query_info.py +19 -0
- astrotoolkit-2.0.1/src/ATK/queries/image/dss1_query.py +13 -0
- astrotoolkit-2.0.1/src/ATK/queries/image/dss2_query.py +13 -0
- astrotoolkit-2.0.1/src/ATK/queries/image/image_core.py +202 -0
- astrotoolkit-2.0.1/src/ATK/queries/image/irsa_queries.py +91 -0
- astrotoolkit-2.0.1/src/ATK/queries/image/overlays.py +317 -0
- astrotoolkit-2.0.1/src/ATK/queries/image/panstarrs_query.py +57 -0
- astrotoolkit-2.0.1/src/ATK/queries/image/sdss_query.py +49 -0
- astrotoolkit-2.0.1/src/ATK/queries/image/skymapper_query.py +63 -0
- astrotoolkit-2.0.1/src/ATK/queries/image/wise_query.py +14 -0
- astrotoolkit-2.0.1/src/ATK/queries/lightcurve/_query_info.py +8 -0
- astrotoolkit-2.0.1/src/ATK/queries/lightcurve/asassn_query.py +59 -0
- astrotoolkit-2.0.1/src/ATK/queries/lightcurve/atlas_query.py +134 -0
- astrotoolkit-2.0.1/src/ATK/queries/lightcurve/crts_query.py +83 -0
- astrotoolkit-2.0.1/src/ATK/queries/lightcurve/gaia_query.py +67 -0
- astrotoolkit-2.0.1/src/ATK/queries/lightcurve/lightcurve_core.py +78 -0
- astrotoolkit-2.0.1/src/ATK/queries/lightcurve/tess_query.py +131 -0
- astrotoolkit-2.0.1/src/ATK/queries/lightcurve/ztf_query.py +45 -0
- astrotoolkit-2.0.1/src/ATK/queries/query_core.py +241 -0
- astrotoolkit-2.0.1/src/ATK/queries/sed/_query_info.py +1 -0
- astrotoolkit-2.0.1/src/ATK/queries/sed/sed_core.py +64 -0
- astrotoolkit-2.0.1/src/ATK/queries/sed/sed_query.py +114 -0
- astrotoolkit-2.0.1/src/ATK/queries/simbad/simbad_query.py +54 -0
- astrotoolkit-2.0.1/src/ATK/queries/spectrum/_query_info.py +1 -0
- astrotoolkit-2.0.1/src/ATK/queries/spectrum/desi_query.py +115 -0
- astrotoolkit-2.0.1/src/ATK/queries/spectrum/sdss_query.py +53 -0
- astrotoolkit-2.0.1/src/ATK/queries/vizier/_query_info.py +11 -0
- astrotoolkit-2.0.1/src/ATK/queries/vizier/vizier_query.py +108 -0
- astrotoolkit-2.0.1/src/ATK/structures/Base.py +256 -0
- astrotoolkit-2.0.1/src/ATK/structures/DataPages.py +153 -0
- astrotoolkit-2.0.1/src/ATK/structures/DataSet.py +441 -0
- astrotoolkit-2.0.1/src/ATK/structures/DataTable.py +83 -0
- astrotoolkit-2.0.1/src/ATK/structures/HRD.py +78 -0
- astrotoolkit-2.0.1/src/ATK/structures/Image.py +95 -0
- astrotoolkit-2.0.1/src/ATK/structures/Lightcurve.py +447 -0
- astrotoolkit-2.0.1/src/ATK/structures/Powspec.py +72 -0
- astrotoolkit-2.0.1/src/ATK/structures/Record.py +104 -0
- astrotoolkit-2.0.1/src/ATK/structures/SED.py +98 -0
- astrotoolkit-2.0.1/src/ATK/structures/Spectrum.py +183 -0
- astrotoolkit-2.0.1/src/ATK/structures/Target.py +171 -0
- astrotoolkit-2.0.1/src/ATK/structures/methods/apply.py +72 -0
- astrotoolkit-2.0.1/src/ATK/structures/methods/binning.py +73 -0
- astrotoolkit-2.0.1/src/ATK/structures/methods/cropping.py +40 -0
- astrotoolkit-2.0.1/src/ATK/structures/methods/lightcurve/phasefold.py +180 -0
- astrotoolkit-2.0.1/src/ATK/structures/methods/lightcurve/powspec.py +56 -0
- astrotoolkit-2.0.1/src/ATK/structures/methods/lightcurve/timeseries_core.py +57 -0
- astrotoolkit-2.0.1/src/ATK/structures/methods/sigma_clip.py +15 -0
- astrotoolkit-2.0.1/src/ATK/structures/methods/spectrum/fitting.py +399 -0
- astrotoolkit-2.0.1/src/ATK/structures/methods/spectrum/radial_velocities.py +254 -0
- astrotoolkit-2.0.1/src/ATK/utilities/coordinates.py +208 -0
- astrotoolkit-2.0.1/src/ATK/utilities/defaults.py +28 -0
- astrotoolkit-2.0.1/src/ATK/utilities/docstrings.py +294 -0
- astrotoolkit-2.0.1/src/ATK/utilities/file_io.py +43 -0
- astrotoolkit-2.0.1/src/ATK/utilities/mapping.py +72 -0
- astrotoolkit-2.0.1/src/ATK/utilities/misc.py +21 -0
- astrotoolkit-2.0.1/src/ATK/utilities/requests.py +64 -0
- astrotoolkit-2.0.1/src/ATK/utilities/units.py +29 -0
- astrotoolkit-2.0.1/src/AstroToolkit.egg-info/PKG-INFO +60 -0
- astrotoolkit-2.0.1/src/AstroToolkit.egg-info/SOURCES.txt +283 -0
- astrotoolkit-2.0.1/src/AstroToolkit.egg-info/entry_points.txt +3 -0
- astrotoolkit-2.0.1/src/AstroToolkit.egg-info/requires.txt +13 -0
- astrotoolkit-2.0.1/src/AstroToolkit.egg-info/top_level.txt +2 -0
- astrotoolkit-2.0.1/src/bin/atkconfig_command.py +54 -0
- astrotoolkit-2.0.1/src/bin/atksurvey_command.py +104 -0
- astrotoolkit-1.7.1/MANIFEST.in +0 -3
- astrotoolkit-1.7.1/PKG-INFO +0 -51
- astrotoolkit-1.7.1/README.md +0 -22
- astrotoolkit-1.7.1/pyproject.toml +0 -56
- astrotoolkit-1.7.1/src/AstroToolkit/Aliases.py +0 -110
- astrotoolkit-1.7.1/src/AstroToolkit/Config.py +0 -93
- astrotoolkit-1.7.1/src/AstroToolkit/Configuration/baseconfig.py +0 -168
- astrotoolkit-1.7.1/src/AstroToolkit/Configuration/catalogue_setup.py +0 -117
- astrotoolkit-1.7.1/src/AstroToolkit/Configuration/epochs.py +0 -127
- astrotoolkit-1.7.1/src/AstroToolkit/Configuration/overlays.py +0 -139
- astrotoolkit-1.7.1/src/AstroToolkit/Data/bin_lightcurves.py +0 -94
- astrotoolkit-1.7.1/src/AstroToolkit/Data/bulkquery.py +0 -64
- astrotoolkit-1.7.1/src/AstroToolkit/Data/crop_lightcurves.py +0 -63
- astrotoolkit-1.7.1/src/AstroToolkit/Data/dataquery.py +0 -237
- astrotoolkit-1.7.1/src/AstroToolkit/Data/fetch_crts.py +0 -112
- astrotoolkit-1.7.1/src/AstroToolkit/Data/fetch_tess.py +0 -75
- astrotoolkit-1.7.1/src/AstroToolkit/Data/hrdquery.py +0 -165
- astrotoolkit-1.7.1/src/AstroToolkit/Data/imageoverlay.py +0 -360
- astrotoolkit-1.7.1/src/AstroToolkit/Data/imagequery.py +0 -370
- astrotoolkit-1.7.1/src/AstroToolkit/Data/lightcurvequery.py +0 -851
- astrotoolkit-1.7.1/src/AstroToolkit/Data/reddeningquery.py +0 -270
- astrotoolkit-1.7.1/src/AstroToolkit/Data/sedquery.py +0 -212
- astrotoolkit-1.7.1/src/AstroToolkit/Data/sigmaclip.py +0 -89
- astrotoolkit-1.7.1/src/AstroToolkit/Data/simbad_query.py +0 -36
- astrotoolkit-1.7.1/src/AstroToolkit/Data/spectrumquery.py +0 -155
- astrotoolkit-1.7.1/src/AstroToolkit/DatapageElements/datapage_buttons.py +0 -64
- astrotoolkit-1.7.1/src/AstroToolkit/DatapageElements/metadata_table.py +0 -127
- astrotoolkit-1.7.1/src/AstroToolkit/Datapages.py +0 -251
- astrotoolkit-1.7.1/src/AstroToolkit/Epochs.py +0 -114
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/AR_Sco_TNT.txt +0 -3458
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/datapage_creation.py +0 -59
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/datapage_hrd.fits +0 -0
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/datapage_image.fits +1 -143
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/datapage_lightcurve.fits +0 -0
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/datapage_sed.fits +0 -0
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/datapage_spectrum.fits +0 -0
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/examples_utilities.py +0 -26
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/external_data.py +0 -40
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/fetching_data.py +0 -8
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/image_overlays.fits +0 -2618
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/image_plotting.py +0 -24
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/lightcurve.fits +0 -0
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/lightcurve_plotting.py +0 -43
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/loadExamples.py +0 -11
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/local_files.py +0 -18
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/test_data.fits +0 -3
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/test_lightcurve.fits +0 -0
- astrotoolkit-1.7.1/src/AstroToolkit/Examples/user_defined_overlay.py +0 -16
- astrotoolkit-1.7.1/src/AstroToolkit/FileHandling/file_naming.py +0 -39
- astrotoolkit-1.7.1/src/AstroToolkit/FileHandling/file_reading.py +0 -277
- astrotoolkit-1.7.1/src/AstroToolkit/FileHandling/file_writing.py +0 -302
- astrotoolkit-1.7.1/src/AstroToolkit/Gui.py +0 -874
- astrotoolkit-1.7.1/src/AstroToolkit/Input/input_validation.py +0 -339
- astrotoolkit-1.7.1/src/AstroToolkit/Misc/coordinate_conversions.py +0 -23
- astrotoolkit-1.7.1/src/AstroToolkit/Misc/estimate_spectral_type.py +0 -60
- astrotoolkit-1.7.1/src/AstroToolkit/Misc/fitsfiles.py +0 -34
- astrotoolkit-1.7.1/src/AstroToolkit/Misc/grid.py +0 -230
- astrotoolkit-1.7.1/src/AstroToolkit/Misc/identifier_generation.py +0 -55
- astrotoolkit-1.7.1/src/AstroToolkit/Misc/pmcorrection.py +0 -138
- astrotoolkit-1.7.1/src/AstroToolkit/Misc/rename_headers.py +0 -246
- astrotoolkit-1.7.1/src/AstroToolkit/Misc/search.py +0 -55
- astrotoolkit-1.7.1/src/AstroToolkit/Models.py +0 -285
- astrotoolkit-1.7.1/src/AstroToolkit/Overlays.py +0 -86
- astrotoolkit-1.7.1/src/AstroToolkit/PackageInfo.py +0 -309
- astrotoolkit-1.7.1/src/AstroToolkit/Plotting/backdrop_hrd_allmags.fits +0 -0
- astrotoolkit-1.7.1/src/AstroToolkit/Plotting/hrdplotting.py +0 -124
- astrotoolkit-1.7.1/src/AstroToolkit/Plotting/imageplotting.py +0 -215
- astrotoolkit-1.7.1/src/AstroToolkit/Plotting/lightcurveplotting.py +0 -153
- astrotoolkit-1.7.1/src/AstroToolkit/Plotting/plotting_map.py +0 -151
- astrotoolkit-1.7.1/src/AstroToolkit/Plotting/sedplotting.py +0 -120
- astrotoolkit-1.7.1/src/AstroToolkit/Plotting/spectrumplotting.py +0 -147
- astrotoolkit-1.7.1/src/AstroToolkit/StructureMethods/data_printing.py +0 -140
- astrotoolkit-1.7.1/src/AstroToolkit/StructureMethods/data_saving.py +0 -24
- astrotoolkit-1.7.1/src/AstroToolkit/StructureMethods/method_definitions.py +0 -191
- astrotoolkit-1.7.1/src/AstroToolkit/StructureMethods/plot_exporting.py +0 -36
- astrotoolkit-1.7.1/src/AstroToolkit/StructureMethods/plot_saving.py +0 -43
- astrotoolkit-1.7.1/src/AstroToolkit/StructureMethods/plot_showing.py +0 -39
- astrotoolkit-1.7.1/src/AstroToolkit/Timeseries/lomb_scargle.py +0 -234
- astrotoolkit-1.7.1/src/AstroToolkit/Timeseries/timeseries_formatting.py +0 -35
- astrotoolkit-1.7.1/src/AstroToolkit/Tools.py +0 -670
- astrotoolkit-1.7.1/src/AstroToolkit/Utility.py +0 -55
- astrotoolkit-1.7.1/src/AstroToolkit.egg-info/PKG-INFO +0 -51
- astrotoolkit-1.7.1/src/AstroToolkit.egg-info/SOURCES.txt +0 -96
- astrotoolkit-1.7.1/src/AstroToolkit.egg-info/entry_points.txt +0 -10
- astrotoolkit-1.7.1/src/AstroToolkit.egg-info/requires.txt +0 -15
- astrotoolkit-1.7.1/src/AstroToolkit.egg-info/top_level.txt +0 -2
- astrotoolkit-1.7.1/src/bin/atkalias_command.py +0 -33
- astrotoolkit-1.7.1/src/bin/atkconfig_command.py +0 -26
- astrotoolkit-1.7.1/src/bin/atkconv_command.py +0 -26
- astrotoolkit-1.7.1/src/bin/atkepoch_command.py +0 -38
- astrotoolkit-1.7.1/src/bin/atkoverlay_command.py +0 -56
- astrotoolkit-1.7.1/src/bin/atkquery_command.py +0 -171
- astrotoolkit-1.7.1/src/bin/atkread_command.py +0 -32
- astrotoolkit-1.7.1/src/bin/atksearch_command.py +0 -88
- astrotoolkit-1.7.1/src/bin/opengui_command.py +0 -5
- {astrotoolkit-1.7.1 → astrotoolkit-2.0.1}/LICENSE +0 -0
- {astrotoolkit-1.7.1 → astrotoolkit-2.0.1}/setup.cfg +0 -0
- {astrotoolkit-1.7.1 → astrotoolkit-2.0.1}/src/AstroToolkit.egg-info/dependency_links.txt +0 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
name: Publish
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*"
|
|
7
|
+
workflow_dispatch: {}
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
build:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
|
+
|
|
15
|
+
- uses: actions/setup-python@v5
|
|
16
|
+
with:
|
|
17
|
+
python-version: "3.12"
|
|
18
|
+
|
|
19
|
+
- name: Install build tools
|
|
20
|
+
run: |
|
|
21
|
+
python -m pip install --upgrade pip
|
|
22
|
+
python -m pip install build
|
|
23
|
+
|
|
24
|
+
- name: Build package
|
|
25
|
+
run: python -m build
|
|
26
|
+
|
|
27
|
+
- uses: actions/upload-artifact@v4
|
|
28
|
+
with:
|
|
29
|
+
name: dist
|
|
30
|
+
path: dist/
|
|
31
|
+
|
|
32
|
+
publish-testpypi:
|
|
33
|
+
name: Publish to TestPyPI
|
|
34
|
+
needs: build
|
|
35
|
+
runs-on: ubuntu-latest
|
|
36
|
+
environment: testpypi
|
|
37
|
+
if: |
|
|
38
|
+
startsWith(github.ref, 'refs/tags/v') &&
|
|
39
|
+
(contains(github.ref_name, 'a') ||
|
|
40
|
+
contains(github.ref_name, 'b') ||
|
|
41
|
+
contains(github.ref_name, 'rc'))
|
|
42
|
+
|
|
43
|
+
permissions:
|
|
44
|
+
id-token: write
|
|
45
|
+
|
|
46
|
+
steps:
|
|
47
|
+
- uses: actions/download-artifact@v4
|
|
48
|
+
with:
|
|
49
|
+
name: dist
|
|
50
|
+
path: dist/
|
|
51
|
+
|
|
52
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
53
|
+
with:
|
|
54
|
+
repository-url: https://test.pypi.org/legacy/
|
|
55
|
+
|
|
56
|
+
publish-pypi:
|
|
57
|
+
name: Publish to PyPI
|
|
58
|
+
needs: build
|
|
59
|
+
runs-on: ubuntu-latest
|
|
60
|
+
environment: pypi
|
|
61
|
+
if: |
|
|
62
|
+
startsWith(github.ref, 'refs/tags/v') &&
|
|
63
|
+
!contains(github.ref_name, 'a')
|
|
64
|
+
|
|
65
|
+
permissions:
|
|
66
|
+
id-token: write
|
|
67
|
+
|
|
68
|
+
steps:
|
|
69
|
+
- uses: actions/download-artifact@v4
|
|
70
|
+
with:
|
|
71
|
+
name: dist
|
|
72
|
+
path: dist/
|
|
73
|
+
|
|
74
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
75
|
+
|
|
76
|
+
github-release:
|
|
77
|
+
name: Create GitHub Release
|
|
78
|
+
needs: publish-pypi
|
|
79
|
+
runs-on: ubuntu-latest
|
|
80
|
+
if: |
|
|
81
|
+
startsWith(github.ref, 'refs/tags/v') &&
|
|
82
|
+
!contains(github.ref_name, 'a') &&
|
|
83
|
+
!contains(github.ref_name, 'b') &&
|
|
84
|
+
!contains(github.ref_name, 'rc')
|
|
85
|
+
|
|
86
|
+
permissions:
|
|
87
|
+
contents: write
|
|
88
|
+
|
|
89
|
+
steps:
|
|
90
|
+
- uses: actions/checkout@v4
|
|
91
|
+
|
|
92
|
+
- name: Create Release
|
|
93
|
+
uses: softprops/action-gh-release@v2
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
*.pyc
|
|
2
|
+
*.html
|
|
3
|
+
*.fits
|
|
4
|
+
|
|
5
|
+
dist/
|
|
6
|
+
__pycache__/
|
|
7
|
+
docs/build/
|
|
8
|
+
docs/source/auto_tutorials/
|
|
9
|
+
*.egg-info/
|
|
10
|
+
testing/
|
|
11
|
+
|
|
12
|
+
!src/ATK/plotting/hrd/backdrop_hrd_allmags.fits
|
|
13
|
+
|
|
14
|
+
!docs/source/**/*.fits
|
|
15
|
+
!docs/_templates/*
|
|
16
|
+
docs/source/_static/animations/media/*
|
|
17
|
+
!docs/source/_static/animations/media/videos/
|
|
18
|
+
!docs/source/_static/animations/media/videos/*/
|
|
19
|
+
!docs/source/_static/animations/media/videos/*/1080p60/
|
|
20
|
+
!docs/source/_static/animations/media/videos/*/1080p60/*.mp4
|
|
21
|
+
docs/source/_static/animations/media/videos/*/1080p60/partial_movie_files/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
include src/ATK/plotting/hrd/*.fits.gz
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: AstroToolkit
|
|
3
|
+
Version: 2.0.1
|
|
4
|
+
Summary: A package for the gathering, plotting and analysis of astronomical data.
|
|
5
|
+
Author-email: Ethan Moorfield <ethan.moorfield@hotmail.co.uk>
|
|
6
|
+
Project-URL: Homepage, https://github.com/WD-planets/AstroToolkit
|
|
7
|
+
Project-URL: Issues, https://github.com/WD-planets/AstroToolkit/issues
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Requires-Python: >=3.11
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Requires-Dist: astropy
|
|
14
|
+
Requires-Dist: astroquery
|
|
15
|
+
Requires-Dist: beautifulsoup4
|
|
16
|
+
Requires-Dist: bokeh
|
|
17
|
+
Requires-Dist: lightkurve
|
|
18
|
+
Requires-Dist: matplotlib
|
|
19
|
+
Requires-Dist: numpy
|
|
20
|
+
Requires-Dist: pandas>3.0.0
|
|
21
|
+
Requires-Dist: PyYAML
|
|
22
|
+
Requires-Dist: reproject
|
|
23
|
+
Requires-Dist: scipy
|
|
24
|
+
Requires-Dist: skypatrol
|
|
25
|
+
Requires-Dist: sparclclient
|
|
26
|
+
Dynamic: license-file
|
|
27
|
+
|
|
28
|
+
AstroToolkit
|
|
29
|
+
============
|
|
30
|
+
AstroToolkit (ATK) is a set of tools for fetching, plotting, and analysing astronomical data.
|
|
31
|
+
|
|
32
|
+
<br>
|
|
33
|
+
|
|
34
|
+
Installation
|
|
35
|
+
============
|
|
36
|
+
To install the package from PyPI, use:
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
pip install AstroToolkit
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
<br>
|
|
43
|
+
|
|
44
|
+
Documentation
|
|
45
|
+
=============
|
|
46
|
+
Full documentation for the package can be found [here](https://astrotoolkit.readthedocs.io/en/latest/).
|
|
47
|
+
|
|
48
|
+
<br>
|
|
49
|
+
|
|
50
|
+
Acknowledgements
|
|
51
|
+
================
|
|
52
|
+
This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (Grant agreement No. 101020057).
|
|
53
|
+
|
|
54
|
+
<p align="center">
|
|
55
|
+
<picture>
|
|
56
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/WD-planets/AstroToolkit/latest/docs/source/_static/erc_logo_dark.png">
|
|
57
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/WD-planets/AstroToolkit/latest/docs/source/_static/erc_logo_light.png">
|
|
58
|
+
<img src="https://raw.githubusercontent.com/WD-planets/AstroToolkit/latest/docs/source/_static/erc_logo_light.png" width="200">
|
|
59
|
+
</picture>
|
|
60
|
+
</p>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
AstroToolkit
|
|
2
|
+
============
|
|
3
|
+
AstroToolkit (ATK) is a set of tools for fetching, plotting, and analysing astronomical data.
|
|
4
|
+
|
|
5
|
+
<br>
|
|
6
|
+
|
|
7
|
+
Installation
|
|
8
|
+
============
|
|
9
|
+
To install the package from PyPI, use:
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
pip install AstroToolkit
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
<br>
|
|
16
|
+
|
|
17
|
+
Documentation
|
|
18
|
+
=============
|
|
19
|
+
Full documentation for the package can be found [here](https://astrotoolkit.readthedocs.io/en/latest/).
|
|
20
|
+
|
|
21
|
+
<br>
|
|
22
|
+
|
|
23
|
+
Acknowledgements
|
|
24
|
+
================
|
|
25
|
+
This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (Grant agreement No. 101020057).
|
|
26
|
+
|
|
27
|
+
<p align="center">
|
|
28
|
+
<picture>
|
|
29
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/WD-planets/AstroToolkit/latest/docs/source/_static/erc_logo_dark.png">
|
|
30
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/WD-planets/AstroToolkit/latest/docs/source/_static/erc_logo_light.png">
|
|
31
|
+
<img src="https://raw.githubusercontent.com/WD-planets/AstroToolkit/latest/docs/source/_static/erc_logo_light.png" width="200">
|
|
32
|
+
</picture>
|
|
33
|
+
</p>
|
|
File without changes
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
=======
|
|
2
|
+
Changes
|
|
3
|
+
=======
|
|
4
|
+
- Rewrote entire package from the ground up, should be a lot easier to develop in the future
|
|
5
|
+
|
|
6
|
+
- All coordinate/source handling now done via a central Target class
|
|
7
|
+
- A Target is automatically generated if a source_id or SkyCoord is entered, or one can be manually created via Target.from_coord() or Target.from_id()
|
|
8
|
+
- Reduces explicit dependency on Gaia, so future astrometric surveys like LSST will be a lot easier to implement, just need to provide an equivalent to get_gaia_target (i.e. converts LSST id -> ATK Target with LSST astrometry)
|
|
9
|
+
- Added an "astrometric_backend" config key, which will (in future) select the default astrometry survey (currently only Gaia is supported)
|
|
10
|
+
- Coordinates can be provided in any frame, automatically transformed to ICRS
|
|
11
|
+
- Configuration setup now far more robust
|
|
12
|
+
- Improved cross-platform file opening
|
|
13
|
+
- Config files now stored in hidden HOME/.AstroToolkit directory
|
|
14
|
+
- Improved .show() (previously .showdata()), now recursively handles the printing of arbitrarily complex structures in an improved format + can optionally show types via show_all_types = True
|
|
15
|
+
- .show() is now supported on all ATK objects (e.g. DataSets, Containers, and Targets)
|
|
16
|
+
- Improved file saving to adaptively store structures as fits files
|
|
17
|
+
- Improved file reading to adaptively generate ATK structures from fits files
|
|
18
|
+
- Opened figures now save to HOME/.AstroToolkit/cached_figures/ temporarily, with a duration given by the config
|
|
19
|
+
- Image bands now correctly supported, and added 2 new colour maps - viridis (default) and false colour. Latter converts filter wavelength to an approximate real colour. Can choose colour map by passing cmap = 'viridis' | 'false_colour' | 'grey' to plot()
|
|
20
|
+
- Image plotting can now utilise relatives axes (i.e. +- arcsec from the centre, now default)
|
|
21
|
+
- Unified all structures into a single class DataSet
|
|
22
|
+
- Unified .data attribute - all query types now stored data as a list of ATK data containers
|
|
23
|
+
- SkyMapper image queries updated to SkyMapper DR4, and now sorted by exposure time (desc) and air mass (asc) to return best image
|
|
24
|
+
- Image queries to DSS1/DSS2 now properly implemented
|
|
25
|
+
- Added support for WISE, 2MASS and SDSS image queries
|
|
26
|
+
- Improved image plotting
|
|
27
|
+
- images should now always be near-perfect squares, regardless of plotting options
|
|
28
|
+
- Added an optional parameter "disable_corrections" to query(), which disable all astrometric corrections if True (defaults to False)
|
|
29
|
+
- SEDs now retain all detections in specified radius
|
|
30
|
+
- Added support for DESI DR1 spectral queries
|
|
31
|
+
- Improved filtering of ATLAS photometry
|
|
32
|
+
- Light curve queries now accept a kwarg "split", which will assign each returned light curve a per-survey object ID (where possible)
|
|
33
|
+
- This defaults to True. Disabling it essentially makes every light curve survey a forced photometry (e.g. ATLAS) query
|
|
34
|
+
- Light curve plotting now automatically splits light curves into per-survey and per-id figures
|
|
35
|
+
- Added kwarg 'cmap' to light curve plotting, which may be "mean" or "flat". The former uses a gradient colour map with a band of darker colour at the mean magnitude, while the latter uses a single flat colour per band. Defaults to "mean"
|
|
36
|
+
- User is now warned if ATK version does not match at time of fits file reading/writing
|
|
37
|
+
- Added integration with astropy units. Where relevant, parameters are treated and stored as astropy Quantities.
|
|
38
|
+
- Input parameters may also use astropy quantities, e.g. a radius of 2 * u.arcmin may be requested for a 2 arcmin search
|
|
39
|
+
- Added global config option 'unit_format' = 'text'/'symbol' to print units as text or symbol representations (defaults to 'symbol')
|
|
40
|
+
- Added query settings config option 'default_scale' = 'arcsec'/'arcmin'/'deg' to choose the default unit for query radius/image sizes (defaults to 'arcsec')
|
|
41
|
+
- Significantly reduced the number of dependencies
|
|
42
|
+
- added ability to query multiple targets at once
|
|
43
|
+
- DataSets now store targets and a mapping between the query target and the returned data containers, added .fetch_by_id(), .fetch_by_coord() and .fetch_by_target() methods to extract data per-source
|
|
44
|
+
- added kwarg "background" to HRD plotting, which limits the background sample to a given fraction of the full sample (e.g. 0.5 would half the number of background points to reduced file size and lag)
|
|
45
|
+
- added kwarg 'combine' to HRD plotting, if False one HRD will be plotted for each source (primarily for datapage creation where each datapage will want its own hrd)
|
|
46
|
+
- added tab titles to plots when opened in browser
|
|
47
|
+
- added targeting information to figure titles (i.e. identifier or coordinates)
|
|
48
|
+
- improved SED/spectra overlay functionality
|
|
49
|
+
- uses target matching to automatically match SEDs and spectra
|
|
50
|
+
- plots with overlays now keep all interactive elements from both plot types
|
|
51
|
+
- can now overlay both ways, i.e. can overlay spectra on an SED as before, but can also overlay an SED over spectra
|
|
52
|
+
- overlaying multiple spectra for a single source (i.e. if a survey returned multiple spectra for the same source) now produces duplicated SEDs with a separate spectrum overlay for each one
|
|
53
|
+
- 'check_exists' kwarg in queries replaced by 'path' kwarg with same functionality
|
|
54
|
+
- DataSets now use a checksum system -> changes in any query parameters will now automatically re-run the query and overwrite the local file
|
|
55
|
+
- local file will also be overwritten if working ATK version doesn't match that at time of local file creation
|
|
56
|
+
- light curve binning now much faster
|
|
57
|
+
- usability of all data methods (e.g. lightcurve .bin(),.crop() etc.) significantly improved:
|
|
58
|
+
- added method .apply() to DataSet, applies a given method to all stored containers
|
|
59
|
+
- argument 'inplace' can be used to modify the structure/container in-place or perform modifications on a copy which is then returned
|
|
60
|
+
- powspec ('pspec') and phasefolding ('fold') now done via the .apply() method, allowing this data to be stored rather than being performed at plot-time
|
|
61
|
+
- added 'multiband' kwarg to both of the above. If True, analyses all bands simultaneously to increase SNR and produce a single freq/period. If False, each band is treated entirely separately
|
|
62
|
+
- added 'subtract' kwarg to phase folding. If 'median', all bands are median-subtracted. If 'mean', all bands are mean-subtracted. If None, no subtraction is performed.
|
|
63
|
+
- crop data method now supported by SEDs, spectra and power spectra
|
|
64
|
+
- bin data method now supported by spectra
|
|
65
|
+
- improved structure of user-accessible imports
|
|
66
|
+
- main functions now available via: from ATK import ...
|
|
67
|
+
- all ATK models available via: from ATK.Models import ...
|
|
68
|
+
- added spectral feature fitting functionality via plot method 'fit'
|
|
69
|
+
- added spectral radial velocity functionality via plot method 'rv_fit'
|
|
70
|
+
- can detect multi-component radial velocities
|
|
71
|
+
- simplified datapage creation, layout now given as a list (columns) of lists (rows) of datasets
|
|
72
|
+
- optimized datapage plotting to minimise whitespace, align axes and force square images as best as possible
|
|
73
|
+
- greatly simplified DataTable creation
|
|
74
|
+
- now just takes a dict in form survey: <list of cols> to include, automatically provides survey/catalogue/correction/separation columns and fetches parameter/value columns using Vizier queries
|
|
75
|
+
- DataTables now shrink in height to match table, and will grow in height up to requested size
|
|
76
|
+
- DataTables store data as an astropy Table under the .table attribute
|
|
77
|
+
- when plotted, DataTables now have a unit column
|
|
78
|
+
- Datapages now returned as a DataPages object, with show(), show_by_target(), show_by_id(), and show_by_coords() methods to show all datapages or single out those of individual targets
|
|
79
|
+
- data is now saved via the .store() method, while plots are saved with the .save() method (the latter is also used for DataPages)
|
|
80
|
+
- Made spectral lines hidden by default
|
|
81
|
+
- Rewrote + significantly improved all documentation
|
|
82
|
+
- Full tutorials added
|
|
83
|
+
- Tutorials written with sphinx-gallery, now automatically run code and embed bokeh plots/terminal output, etc.
|
|
84
|
+
- Tutorials now downloadable
|
|
85
|
+
- figure legends now dynamically shrink font size to remain inside bounds
|
|
86
|
+
- local files can now be compressed by providing a compressed file extension (e.g. .fits.gz)
|
|
87
|
+
- phase folding now uses phase dispersion minimisation to discern between the real frequency and its harmonics
|
|
88
|
+
- folded light curves can now be automatically aligned by passing align = "mean", "median", "max", "min" to align to the mean/median magnitude or a maxima/minima
|
|
89
|
+
- Vizier data containers (Records) now store their data as an astropy Table under the .table attribute
|
|
90
|
+
- Returned Vizier data now maintains units
|
|
91
|
+
- old 'raw' argument in light curve queries is now 'filter', disables all non-required filtering if False (default=True)
|
|
92
|
+
- DataSets can be merged with DataSet_1.merge(DataSet_2), and split with DataSet.split(<targeting info>)
|
|
93
|
+
- Datapages now automatically generate tabs so that if multiple plots are present in an included DataSet (e.g. if multiple data products are returned from a query or if DataSet.merge() was used to combine multiple surveys), user can now freely switch between them
|
|
94
|
+
- migrated docs from ReadTheDocs theme to PyData
|
|
95
|
+
|
|
96
|
+
+ other stuff that I forgot to write down
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
=========
|
|
101
|
+
To-Do Now
|
|
102
|
+
=========
|
|
103
|
+
- read through docs
|
|
104
|
+
- replace 'star' with e.g. system, source, etc.
|
|
105
|
+
- check docstrings / comments
|
|
106
|
+
- check type hints
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
===========
|
|
110
|
+
To-Do Later
|
|
111
|
+
===========
|
|
112
|
+
improved testing
|
|
113
|
+
|
|
114
|
+
- get full set of spectral lines from NIST for rv fitting?
|
|
115
|
+
- rename tutorial .py files
|
|
116
|
+
- function/docs links in code examples (like for external libraries)?
|
|
117
|
+
- talk to boris about my rv_fit process
|
|
118
|
+
- clean up pm correction
|
|
119
|
+
- main issue is e.g. overlays.py cannot be vectorised -> astropy doesn't let you define non-scalar SkyCoords with varying validity of distance/pm information, so you cannot reliably correct a grouped SkyCoord. Luckily, not used much as usually things are handled as single coordinates anyway
|
|
120
|
+
- distance and pm ONLY matter for corrections, in searches its fine to lose this information and hence stay vectorised
|
|
121
|
+
- add a way to tell if any significant periodicity was detected in powspec
|
|
122
|
+
- pdm implementation
|
|
123
|
+
- improve true frequency detection across range of orbital morphologies
|
|
124
|
+
- providing a SkyCoord with proper motion measurements
|
|
125
|
+
- clean up and improve generalisation of data methods (pass struct instead of arrays)
|
|
126
|
+
- rich text output option (https://realpython.com/python-rich-package/)
|
|
127
|
+
- calibrating + combining multiple light curves to make one massive light curve
|
|
128
|
+
- decouple from Gaia with a properly implemented astrometric backend system
|
|
129
|
+
- add best-epoch separation to light curves?
|
|
130
|
+
- add matplotlib as an optional plotting backend to avoid issues with many data points (e.g. hrd/tess/power spectra)?
|
|
131
|
+
- don't change coordinates to icrs/celestial straight away, keep these and just change in query() without affecting Target.initial_coords?
|
|
132
|
+
- possibly store metadata, e.g. object IDs from light curve surveys in a .meta attribute
|
|
133
|
+
- add search_pos to SEDs?
|
|
134
|
+
- allow any magnitudes to be used in hrd query - i.e. user searches with Gaia ID to make sure there is a valid distance (if not return no data) -> supplied two bands are fetched from a Vizier query to get the colour?
|
|
135
|
+
- Let Vizier catalogue names be used in overlays (as a fallback if alias not in alias file)
|
|
136
|
+
- move most globals (or things that need to be edited on occasion) to one place (?) + include global prefix to make sure that these aren't edited (?)
|
|
137
|
+
- sort defaults for kwargs (should be in function definitions/config - or somewhere else, not as default arg in kwargs.get()) (?)
|
|
138
|
+
- used ValueError too much, should only be used for argument errors
|
|
139
|
+
- struct vs ctnr vs etc.
|
|
140
|
+
- option to only return closest photometry from each survey in SED queries
|
|
141
|
+
- light curve overlays in images as way to show how to recombine data
|
|
142
|
+
- more generally, be able to pass any structure to image plotting -> extracts positional data + overlay
|
|
143
|
+
- improve warnings/logging (no print statements?)
|
|
144
|
+
- add annotations to ATK keywords in fits headers
|
|
145
|
+
- let spectral peak fitting work in velocity-space (?)
|
|
146
|
+
- image overlay DataFrame -> Table
|
|
147
|
+
|
|
148
|
+
- AI thing (?)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Minimal makefile for Sphinx documentation
|
|
2
|
+
#
|
|
3
|
+
|
|
4
|
+
# You can set these variables from the command line, and also
|
|
5
|
+
# from the environment for the first two.
|
|
6
|
+
SPHINXOPTS ?=
|
|
7
|
+
SPHINXBUILD ?= sphinx-build
|
|
8
|
+
SOURCEDIR = source
|
|
9
|
+
BUILDDIR = build
|
|
10
|
+
|
|
11
|
+
# Put it first so that "make" without argument is like "make help".
|
|
12
|
+
help:
|
|
13
|
+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
14
|
+
|
|
15
|
+
.PHONY: help Makefile
|
|
16
|
+
|
|
17
|
+
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
18
|
+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
19
|
+
%: Makefile
|
|
20
|
+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
make clean
|
|
2
|
+
|
|
3
|
+
rm -rf source/auto_tutorials/
|
|
4
|
+
|
|
5
|
+
if [ "$1" = "wipe" ]; then
|
|
6
|
+
echo "Wiping all .fits and .fits.gz files under ./source/tutorials/..."
|
|
7
|
+
|
|
8
|
+
find source/tutorials/ \
|
|
9
|
+
-path "source/tutorials/extension" -prune -o \
|
|
10
|
+
-type f \( -name "*.fits" -o -name "*.fits.gz" \) \
|
|
11
|
+
-exec rm -f {} +
|
|
12
|
+
fi
|
|
13
|
+
|
|
14
|
+
make html
|
|
15
|
+
|
|
16
|
+
# run again to ensure no argument change warnings, and to ensure includes are built
|
|
17
|
+
make clean
|
|
18
|
+
make html
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@ECHO OFF
|
|
2
|
+
|
|
3
|
+
pushd %~dp0
|
|
4
|
+
|
|
5
|
+
REM Command file for Sphinx documentation
|
|
6
|
+
|
|
7
|
+
if "%SPHINXBUILD%" == "" (
|
|
8
|
+
set SPHINXBUILD=sphinx-build
|
|
9
|
+
)
|
|
10
|
+
set SOURCEDIR=source
|
|
11
|
+
set BUILDDIR=build
|
|
12
|
+
|
|
13
|
+
%SPHINXBUILD% >NUL 2>NUL
|
|
14
|
+
if errorlevel 9009 (
|
|
15
|
+
echo.
|
|
16
|
+
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
|
|
17
|
+
echo.installed, then set the SPHINXBUILD environment variable to point
|
|
18
|
+
echo.to the full path of the 'sphinx-build' executable. Alternatively you
|
|
19
|
+
echo.may add the Sphinx directory to PATH.
|
|
20
|
+
echo.
|
|
21
|
+
echo.If you don't have Sphinx installed, grab it from
|
|
22
|
+
echo.https://www.sphinx-doc.org/
|
|
23
|
+
exit /b 1
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
if "%1" == "" goto help
|
|
27
|
+
|
|
28
|
+
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
|
|
29
|
+
goto end
|
|
30
|
+
|
|
31
|
+
:help
|
|
32
|
+
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
|
|
33
|
+
|
|
34
|
+
:end
|
|
35
|
+
popd
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
sphinx-build -b html source build/html -W
|