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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file herschelhelp_internal-1.0.1.tar.gz.

File metadata

  • Download URL: herschelhelp_internal-1.0.1.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for herschelhelp_internal-1.0.1.tar.gz
Algorithm Hash digest
SHA256 63ed3617f476e6f20d46cc3d1b1ab646d155570375d33dc9558bca06fb46c0ad
MD5 e043251be0484c93c1a79e2be00d36bc
BLAKE2b-256 968e373e930fa6ce3e12a7066bef4ac44d4a27c17e00349da905b0c095671baa

See more details on using hashes here.

File details

Details for the file herschelhelp_internal-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for herschelhelp_internal-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2df09c4a6c77784cce9edcd88cc196e814a2a4b0a188a2d1f24d62ed17626827
MD5 ecf314bec02577c33617230c87b8c826
BLAKE2b-256 0a08d2366fa01a7c5ca8b2add9ee7c6489703f869f9aa30c855cf057305515c9

See more details on using hashes here.

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