Skip to main content

Identifies HII regions from H alpha emission line maps.

Project description

HIIdentify

GitHub last commit version license

Welcome to HIIdentify! This code identifies HII regions within a galaxy, using a map of the H$\alpha$ emssion line flux.

Please note, HIIdentify is under active development - any contributions and / or feedback would be very welcome.

HIIdentify works by identifying the brightest pixels within the image, then growing the region to include the surrounding pixels with fluxes greater than the specified background flux, up to a maximum size. Where regions merge, the distance from the merging pixels to the peaks of the two regions are considered, and the pixel is assigned to the region with the closest peak.

In the below example map (left), the flux of the H$\alpha$ emission line can be seen, with the highest flux regions show in yellow, and lowest flux regions in purple. The regions identfied by HIIdentify can be seen as the red outlines. Here it can be seen that the regions are not restricted to being a particular shape, and that all regions with a peak flux above a given limit have been identified.

In the right-hand image, the segmentation map returned by HIIdentify can be seen. A 2D map is returned, with all pixels corresponding to a particular HII region set to the ID number of the region. This allows the segmentation map to be used to mask out regions of maps of other parameters, such as line fluxes or metallicity maps, pertaining to the selected HII region.

Installing HIIdentify

To install HIIdentify using pip, run:

pip install HIIdentify

Using HIIdentify

How to cite HIIdentify

If you use HIIdentify as part of your work, please cite Easeman et al. (2022) in prep.

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

HIIdentify-0.0.2.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

HIIdentify-0.0.2-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

Details for the file HIIdentify-0.0.2.tar.gz.

File metadata

  • Download URL: HIIdentify-0.0.2.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for HIIdentify-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a8b6459c0b69c6550a60bae73d15068e40379d1389b5039ac6a4c00af0daf68f
MD5 222f9613a27ef96b3a86811cac5c6b89
BLAKE2b-256 147b65e5ac56b1341ca5b4f642f17d4457171582fe2f872f72f58dbfcf62022a

See more details on using hashes here.

File details

Details for the file HIIdentify-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: HIIdentify-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 22.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for HIIdentify-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2605a08a097c30a83b41da75754e5ae14d8c7021a9f403c48003760ec3d92e68
MD5 1491c33e9fd8031ed85bc7080fea9754
BLAKE2b-256 ae3878f039eb6082f1d1b9bddb88784f67b00650ea7c9051e827cd2a783227ab

See more details on using hashes here.

Supported by

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