Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danmoser/pyhdust
Analysis tools for multi-technique astronomical data and hdust models
https://github.com/danmoser/pyhdust
astronomy astrophysics python
Last synced: 3 months ago
JSON representation
Analysis tools for multi-technique astronomical data and hdust models
- Host: GitHub
- URL: https://github.com/danmoser/pyhdust
- Owner: danmoser
- License: gpl-3.0
- Created: 2014-10-24T23:38:00.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-04-11T03:00:36.000Z (7 months ago)
- Last Synced: 2024-04-24T19:01:16.848Z (7 months ago)
- Topics: astronomy, astrophysics, python
- Language: Python
- Homepage: https://pypi.python.org/pypi/pyhdust
- Size: 58.5 MB
- Stars: 9
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
- Roadmap: roadmap.TODO
Awesome Lists containing this project
- awesome-spectra - pyhdust - technique astronomical data (Astrophysics & Astronomy Spectra)
README
pyhdust
========
**Analysis tools for multi-technique astronomical data and** *hdust* **models**.|Tests|
.. |Tests| image:: https://github.com/danmoser/pyhdust/actions/workflows/main.yaml/badge.svg
:target: https://github.com/danmoser/pyhdust/actions/workflows/main.yamlFull documentation at `pyhdust.readthedocs.io `_.
About *hdust* code: Carciofi & Bjorkman (`2006 `_, `2008 `_).
**pyhdust** should be independent of plataform (Linux, Mac, Windows) and compatible with any version of Python (superior or equal to 3.4).
How to install/uninstall
--------------------------
I strongly suggest users to use the ``pip`` plataform:.. code:: bash
pip install pyhdust
If your are not the root of the system, add the flag ``--user`` to the command above. Dependencies (as filters efficiency and stellar evolution models) are included in the subdirectories.
.. warning::
Never combine ``sudo`` with ``--user``! Otherwise you will face critical permission problems for your packages!
.. note::
To use the **pyhdust** scripts, the binaries path of your pip installation directory must be in system ``PATH``. If you don't find them, adapt the following command to your ``$HOME/.bashrc``:
.. code:: bash
PATH=$PATH:~/.local/bin/
**pyhdust** requires numpy, six and astropy modules. Optionally, it makes use of:
- emcee
- matplotlib
- pandas
- pIDLy
- scipy
- wget
- xmltodictTo only **update** the package:
.. code:: bash
pip install -U --no-deps pyhdust
``-U`` forces the upgrade and ``--no-deps`` do not reinstall the dependent packages.
For other options, consult the `full documentation `_.
How to use the modules
-------------------------
To make use of all routines, the suggestion is to import them as follows:.. code:: python
import pyhdust as hdt
import pyhdust.beatlas as bat
import pyhdust.fieldstars as fls
import pyhdust.images as img
import pyhdust.input as inp
import pyhdust.interftools as intt
import pyhdust.jdcal as jdcal
import pyhdust.poltools as polt
import pyhdust.phc as phc
import pyhdust.rotstars as rot
import pyhdust.singscat as sst
import pyhdust.spectools as spt
import pyhdust.stats as sttLicense
-----------
The code is free, available under the terms of the `GNU GPL v3.0 license `_.