/usr/lib/python2.7/dist-packages/astroML_addons-0.2.2.egg-info is in python-astroml-addons 0.2.2-4~deb9u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 | Metadata-Version: 1.1
Name: astroML_addons
Version: 0.2.2
Summary: Performance add-ons for the astroML package
Home-page: http://astroML.github.com
Author: Jake VanderPlas
Author-email: vanderplas@astro.washington.edu
License: BSD
Download-URL: http://github.com/astroML/astroML
Description: .. -*- mode: rst -*-
==============
AstroML addons
==============
This package contains addon code for the astroML package, available at
http://github.com/astroML/astroML.
AstroML is a Python module for machine learning and data mining
built on numpy, scipy, scikit-learn, and matplotlib,
and distributed under the 3-Clause BSD license.
It contains a growing library of statistical and machine learning
routines for analyzing astronomical data in python, loaders for several open
astronomical datasets, and a large suite of examples of analyzing and
visualizing astronomical datasets.
This project was started in 2012 by Jake VanderPlas to accompany the book
*Statistics, Data Mining, and Machine Learning in Astronomy* by
Zeljko Ivezic, Andrew Connolly, Jacob VanderPlas, and Alex Gray.
Core and Addons
===============
The project is split into two components. The core ``astroML`` library is
written in python only, and is designed to be very easy to install for
any users, even those who don't have a working C or fortran compiler.
A companion library, ``astroML_addons``, can be optionally installed for
increased performance on certain algorithms. Every algorithm
in ``astroML_addons`` has a pure python counterpart in the
core ``astroML`` implementation, but the ``astroML_addons`` library
contains faster and more efficient implementations in compiled code.
Furthermore, if ``astroML_addons`` is installed on your system, the core
``astroML`` library will import and use the faster routines by default.
The reason for this split is the ease of use for newcomers to Python. If the
prerequisites are already installed on your system, the core ``astroML``
library can be installed and used on any system with little trouble. The
``astroML_addons`` library requires a C compiler, but is also designed to be
easy to install for more advanced users. See further discussion in
"Development", below.
Important Links
===============
- HTML documentation: http://astroML.github.com
- Source-code repository: http://github.com/astroML/astroML
- Issue Tracker: http://github.com/astroML/astroML/issues
- Mailing List: https://groups.google.com/forum/#!forum/astroml-general
Installation
============
This package uses distutils, which is the default way of installing python
modules. **Before installation, make sure your system meets the prerequisites
listed in Dependencies, listed below.**
Core
----
To install the core ``astroML`` package in your home directory, use::
pip install astroML
The core package is pure python, so installation should be straightforward
on most systems. To install from source, refer to http://github.com/astroML/
Addons
------
The ``astroML_addons`` package requires a working C/C++ compiler for
installation. It can be installed using::
pip install astroML_addons
To install from source, use::
python setup_addons.py install
You can specify an arbitrary directory for installation using::
python setup.py install --prefix='/some/path'
To install system-wide on Linux/Unix systems::
python setup.py build
sudo python setup.py install
Dependencies
============
There are three levels of dependencies in astroML. *Core* dependencies are
required for the core ``astroML`` package. *Add-on* dependencies are required
for the performance ``astroML_addons``. *Optional* dependencies are required
to run some (but not all) of the example scripts. Individual example scripts
will list their optional dependencies at the top of the file.
Core Dependencies
-----------------
The core ``astroML`` package requires the following:
- Python_ version 2.6.x - 2.7.x
(astroML does not yet support python 3.x)
- Numpy_ >= 1.4
- Scipy_ >= 0.7
- Scikit-learn_ >= 0.10
- Matplotlib_ >= 0.99
- PyFITS_ >= 3.0.
PyFITS is a python reader for Flexible Image Transport
System (FITS) files, based on cfitsio. Several of the dataset loaders
require pyfits.
This configuration matches the Ubuntu 10.04 LTS release from April 2010,
with the addition of scikit-learn.
To run unit tests, you will also need nose >= 0.10
Add-on Dependencies
-------------------
The fast code in ``astroML_addons`` requires a working C/C++ compiler.
Optional Dependencies
---------------------
Several of the example scripts require specialized or upgraded packages.
These requirements are listed at the top of the particular scripts
- Scipy_ version 0.11 added a sparse graph submodule.
The minimum spanning tree example requires scipy >= 0.11
- PyMC_ provides a nice interface for Markov-Chain Monte Carlo. Several astroML
examples use pyMC for exploration of high-dimensional spaces. The examples
were written with pymc version 2.2
- HEALPy_ provides an interface to
the HEALPix pixelization scheme, as well as fast spherical harmonic
transforms.
Development
===========
This package is designed to be a repository for well-written astronomy code,
and submissions of new routines are encouraged. After installing the
version-control system Git_, you can check out
the latest sources from GitHub_ using::
git clone git://github.com/astroML/astroML.git
or if you have write privileges::
git clone git@github.com:astroML/astroML.git
Contribution
------------
We strongly encourage contributions of useful astronomy-related code:
for `astroML` to be a relevant tool for the python/astronomy community,
it will need to grow with the field of research. There are a few
guidelines for contribution:
General
~~~~~~~
Any contribution should be done through the github pull request system (for
more information, see the
`help page <https://help.github.com/articles/using-pull-requests>`_
Code submitted to ``astroML`` should conform to a BSD-style license,
and follow the `PEP8 style guide <http://www.python.org/dev/peps/pep-0008/>`_.
Documentation and Examples
~~~~~~~~~~~~~~~~~~~~~~~~~~
All submitted code should be documented following the
`Numpy Documentation Guide`_. This is a unified documentation style used
by many packages in the scipy universe.
In addition, it is highly recommended to create example scripts that show the
usefulness of the method on an astronomical dataset (preferably making use
of the loaders in ``astroML.datasets``). These example scripts are in the
``examples`` subdirectory of the main source repository.
Add-on code
~~~~~~~~~~~
We made the decision early-on to separate the core routines from
high-performance compiled routines.
This is to make sure that installation of the core
package is as straightforward as possible (i.e. not requiring a C compiler).
Contributions of efficient compiled code to ``astroML_addons`` is encouraged:
the availability of efficient implementations of common algorithms in python
is one of the strongest features of the python universe. The preferred
method of wrapping compiled libraries is to use
`cython <http://www.cython.org>`_; other options (weave, SWIG, etc.) are
harder to build and maintain.
Currently, the policy is that any efficient algorithm included in
``astroML_addons`` should have a duplicate python-only implementation in
``astroML``, with code that selects the faster routine if it's available.
(For an example of how this works, see the definition of the ``lomb_scargle``
function in ``astroML/periodogram.py``).
This policy exists for two reasons:
1. it allows novice users to have all the functionality of ``astroML`` without
requiring the headache of complicated installation steps.
2. it serves a didactic purpose: python-only implementations are often easier
to read and understand than equivalent implementations in C or cython.
3. it enforces the good coding practice of avoiding premature optimization.
First make sure the code works (i.e. write it in simple python). Then
create an optimized version in the addons.
If this policy proves especially burdensome in the future, it may be revisited.
.. _Numpy Documentation Guide: https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt
Authors
=======
Package Author
--------------
* Jake Vanderplas <vanderplas@astro.washington.edu> http://jakevdp.github.com
Code Contribution
-----------------
* Morgan Fouesneau https://github.com/mfouesneau
* Julian Taylor http://github.com/juliantaylor
.. _Python: http://www.python.org
.. _Numpy: http://www.numpy.org
.. _Scipy: http://www.scipy.org
.. _Scikit-learn: http://scikit-learn.org
.. _Matplotlib: http://matplotlib.org
.. _PyFITS: http://www.stsci.edu/institute/software_hardware/pyfits
.. _PyMC: http://pymc-devs.github.com/pymc/
.. _HEALPy: https://github.com/healpy/healpy>
.. _Git: http://git-scm.com/
.. _GitHub: http://www.github.com
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2.6
Classifier: Topic :: Scientific/Engineering :: Astronomy
|