Skip to main content

sharpener is a tool to identify the position of all continuum sources in a continuum image and extract a spectrum from each line of sight of these sources.

Project description

SHARPener

This is a set of tools that have been developed in preparation of the HI absorption surveys of the SKA precursors and pathfinders.

sharpener identifies the position of all continuum sources in a continuum image and extracts a spectrum against all their lines of sight. The spectra are then plotted. Multiple options can be provided by the user, such has hanning smoothing and polynomial fitting and subtraction of the spectra, and plotting the spectra in different units (km/s, Hz, Jy beam$^{-1}$, $\tau$). Further information are given in the next sections.

sharpener can be run automatically using a .yml parameter file as run_sharpener -c <parameter_file.yml>, or through a IPython notebook.

To generate config with run_sharpener -gd <parameter_file.yml> and for help run_sharpener -h.

The following tutorials can guide you through the different capabilities of sharpener.


Installation

Requisites

  • SHARPener makes use of the most common python packages (e.g. numpy, scipy, astropy, astroquery, prettytable) and addition to mpdaf and pypdf2.
  • The parameter file is in yaml format, hence pyaml, and json packages should be installed.
  • Tutorials make use of tabulate and glob for fancy outputs.
  • SHARPener source finder calls the function imsad of Miriad. Miriad must be installed for the source finder to work properly. No python wrapper is needed, since it is already included in SHARPener.

Insallation instructions

  • This package is available on pypi, allowing:
pip install sharpener
  • Alternatively, clone this repository. From terminal type:
git clone https://github.com/Fil8/SHARPener.git
  • Then change directory into SHARPener and install:
cd SHARPener && pip install .


© Filippo M. Maccagni 2018-2019

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

sharpener-1.0.6.tar.gz (50.9 kB view details)

Uploaded Source

File details

Details for the file sharpener-1.0.6.tar.gz.

File metadata

  • Download URL: sharpener-1.0.6.tar.gz
  • Upload date:
  • Size: 50.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3

File hashes

Hashes for sharpener-1.0.6.tar.gz
Algorithm Hash digest
SHA256 42cc17387cf1344850e7fd568b8b0dcac2b9441ddd00aadc0aa66eae82e8513e
MD5 6adb3f7947a63d060b9d5f407a64ccdf
BLAKE2b-256 3ae1265842799e8cb15ad8c69a482c7e771e68091c99c7e2c400a40e2f493f6a

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