ppxf 9.2.2__py3-none-any.whl

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.
Files changed (34) hide show
  1. ppxf/CHANGELOG.rst +937 -0
  2. ppxf/LICENSE.txt +10 -0
  3. ppxf/README.rst +79 -0
  4. ppxf/__init__.py +1 -0
  5. ppxf/capfit.py +1004 -0
  6. ppxf/examples/FILTER.RES.info.txt +411 -0
  7. ppxf/examples/FILTER.RES.txt +97561 -0
  8. ppxf/examples/__init__.py +1 -0
  9. ppxf/examples/ppxf_example_gas_sdss_tied.py +271 -0
  10. ppxf/examples/ppxf_example_kinematics_sauron.py +222 -0
  11. ppxf/examples/ppxf_example_kinematics_sdss.py +205 -0
  12. ppxf/examples/ppxf_example_montecarlo_simulation.py +193 -0
  13. ppxf/examples/ppxf_example_population_gas_sdss.py +300 -0
  14. ppxf/examples/ppxf_example_population_photometry.py +241 -0
  15. ppxf/examples/ppxf_example_sky_and_symmetric_losvd.py +160 -0
  16. ppxf/examples/ppxf_example_two_components.py +172 -0
  17. ppxf/examples/ppxf_python_reference_output.txt +306 -0
  18. ppxf/ppxf.py +2765 -0
  19. ppxf/ppxf_util.py +1148 -0
  20. ppxf/spectra/NGC3073_SDSS_DR8.fits +265 -0
  21. ppxf/spectra/NGC3522_SDSS_DR8.fits +219 -0
  22. ppxf/spectra/NGC4550_SAURON.fits +0 -0
  23. ppxf/spectra/NGC4636_SDSS_DR12.fits +1047 -3
  24. ppxf/spectra/legac_M19_56670_v3.0.fits +786 -0
  25. ppxf/sps_models/Vazdekis2012_ssp_mass_Padova00_UN_baseFe_v10.0.txt +4210 -0
  26. ppxf/sps_models/Vazdekis2012_ssp_phot_Padova00_UN_v10.0.txt +4210 -0
  27. ppxf/sps_models/Vazdekis2012_ssp_sdss_miuscat_UN1.30_v9.txt +360 -0
  28. ppxf/sps_models/spectra_sun_vega.npz +0 -0
  29. ppxf/sps_util.py +313 -0
  30. ppxf-9.2.2.dist-info/METADATA +2425 -0
  31. ppxf-9.2.2.dist-info/RECORD +34 -0
  32. ppxf-9.2.2.dist-info/WHEEL +5 -0
  33. ppxf-9.2.2.dist-info/top_level.txt +1 -0
  34. ppxf-9.2.2.dist-info/zip-safe +1 -0
ppxf/LICENSE.txt ADDED
@@ -0,0 +1,10 @@
1
+ Other/Proprietary License
2
+
3
+ Copyright (c) 2001-2024 Michele Cappellari
4
+
5
+ This software is provided as is with no warranty. You may use it for
6
+ non-commercial purposes and modify it for personal or internal use, as long
7
+ as you include this copyright and disclaimer in all copies. You may not
8
+ redistribute the code.
9
+
10
+ ###########################################################################
ppxf/README.rst ADDED
@@ -0,0 +1,79 @@
1
+
2
+ **pPXF: Full Spectrum Fitting with Photometry for Stars and Galaxies**
3
+
4
+ .. image:: http://www-astro.physics.ox.ac.uk/~cappellari/software/ppxf_logo.svg
5
+ :target: https://www-astro.physics.ox.ac.uk/~cappellari/software/#ppxf
6
+ :width: 100
7
+ .. image:: https://img.shields.io/pypi/v/ppxf.svg
8
+ :target: https://pypi.org/project/ppxf/
9
+ .. image:: https://img.shields.io/badge/arXiv-2208.14974-orange.svg
10
+ :target: https://arxiv.org/abs/2208.14974
11
+ .. image:: https://img.shields.io/badge/DOI-10.1093/mnras/stad2597-green.svg
12
+ :target: https://doi.org/10.1093/mnras/stad2597
13
+
14
+ This ``pPXF`` package contains a Python implementation of the Penalized
15
+ PiXel-Fitting (``pPXF``) method. It uses full-spectrum fitting with photometry
16
+ (SED) to extract the stellar and gas kinematics, as well as the stellar population of
17
+ stars and galaxies. The method was originally described in `Cappellari & Emsellem (2004)
18
+ <https://ui.adsabs.harvard.edu/abs/2004PASP..116..138C>`_
19
+ and was substantially upgraded in subsequent years and particularly in
20
+ `Cappellari (2017) <https://ui.adsabs.harvard.edu/abs/2017MNRAS.466..798C>`_
21
+ and with the inclusion of photometry and linear constraints in
22
+ `Cappellari (2023) <https://ui.adsabs.harvard.edu/abs/2023MNRAS.526.3273C>`_.
23
+
24
+ .. contents:: :depth: 1
25
+
26
+ Attribution
27
+ -----------
28
+
29
+ If you use this software for your research, please cite at least `Cappellari (2023)`_,
30
+ or additionally some ``pPXF`` papers above. The BibTeX entry for the paper is::
31
+
32
+ @ARTICLE{Cappellari2023,
33
+ author = {{Cappellari}, M.},
34
+ title = "{Full spectrum fitting with photometry in PPXF: stellar population
35
+ versus dynamical masses, non-parametric star formation history and
36
+ metallicity for 3200 LEGA-C galaxies at redshift $z\approx0.8$}",
37
+ journal = {MNRAS},
38
+ eprint = {2208.14974},
39
+ year = 2023,
40
+ volume = 526,
41
+ pages = {3273-3300},
42
+ doi = {10.1093/mnras/stad2597}
43
+ }
44
+
45
+ Installation
46
+ ------------
47
+
48
+ install with::
49
+
50
+ pip install ppxf
51
+
52
+ Without write access to the global ``site-packages`` directory, use::
53
+
54
+ pip install --user ppxf
55
+
56
+ To upgrade ``pPXF`` to the latest version use::
57
+
58
+ pip install --upgrade ppxf
59
+
60
+ Usage Examples
61
+ --------------
62
+
63
+ To learn how to use the ``pPXF`` package, copy, modify and run
64
+ the example programs in the ``ppxf/examples`` directory.
65
+ It can be found within the main ``ppxf`` package installation folder
66
+ inside `site-packages <https://stackoverflow.com/a/46071447>`_.
67
+ The detailed documentation is contained in the docstring of the file
68
+ ``ppxf.py``, or on `PyPi <https://pypi.org/project/ppxf/>`_ or as PDF
69
+ from `<https://purl.org/cappellari/software>`_.
70
+
71
+ .. image:: http://www-astro.physics.ox.ac.uk/~cappellari/software/jupyter_logo.svg
72
+ :target: https://github.com/micappe/ppxf_examples
73
+ :width: 100
74
+ :alt: Jupyter Notebook
75
+
76
+ Examples as Jupyter Notebooks are also available on my
77
+ `GitHub repository <https://github.com/micappe/ppxf_examples>`_.
78
+
79
+ ###########################################################################
ppxf/__init__.py ADDED
@@ -0,0 +1 @@
1
+ __version__ = "9.2.2"