Skip to main content

HELP project internal code

Project description

This python module contains the code used internally within HELP to process our data.

Installation

The easiest way is to install the module in development mode using conda. Provided you installed [Anaconda](https://www.continuum.io/) or [miniconda](http://conda.pydata.org/miniconda.html) here are the commands to run:

`Shell $ conda create -n herschelhelp_internal python=3 $ source activate herschelhelp_internal $ conda install -c openastronomy astropy healpy scipy seaborn $ pip install -r requirements.txt $ python setup.py develop `

You will need to activate this new environment with source activate herschelhelp_internal when you want to use this module.

Running inside a Jupyter notebook

If one need to use this code inside a Jupyter notebook, one should install the notebook stuff:

`Shell $ conda install notebook `

and add the environment Python to the list of kernels for Jupyter:

`Shell $ python -m ipykernel install --user --name helpint --display-name "Python (herschelhelp_internal)" `

The notebooks must be set to use this kernel.

Note: maybe it’s not mandatory to install the full notebook and only the ipykernel is required if Jupyter is already installed on the system.

E(B-V) maps

To compute the E(B-V) at each source position, we are using the [sfdmap package](https://github.com/kbarbary/sfdmap) that needs the Schlegel, Finkbeiner & Davis (1998) dust maps. The script get_sfd_maps.sh will download them and place them in the directory herschelhelp_internal/sfd_data/ where they are expected by our wrapper function. This must be done only once.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

herschelhelp_internal-1.0.1.tar.gz (22.5 kB view hashes)

Uploaded Source

Built Distribution

herschelhelp_internal-1.0.1-py3-none-any.whl (23.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page