deblend_sofia_detections
=====
Introduction
A package to deblend Sofia detections based on the method described in
https://ui.adsabs.harvard.edu/abs/2025ApJ...980..157H/abstract
Most of this is an adapted copy of the accompanying ipython notebook of that paper
and as such Qifeng Huang should be considered as a main author of this code
Requirements
The code requires full installation of:
python v3.11 or higher
SoFiA-2
Installation
Download the source code from the Github or simply install with pip as:
pip install deblend_sofia_detections
This should also install all required python dependencies. We recommend the use of python virtual environments. If so desired a deblend_sofia_detections installation would look like:
python3 -m venv deblend_sofia_detections_venv
source deblend_sofia_detections_venv/bin/activate.csh
pip install deblend_sofia_detections
(In case of bash the correct middle line is source deblend_sofia_detections_venv/bin/activate)
You might have to re-source the env:
source deblend_sofia_detections_venv/bin/activate.csh
Once you have installed deblend_sofia_detections you can check that it has been installed properly by running deblend_sofia_detections as.
deblend -v
Running deblend_sofia_detections_venv
You can run deblend_sofia_detections on a sofia catalogue by providing a configuration file with:
deblend configuration_file=file.yml
an example yaml file with all parameters can be printed by running:
deblend print_examples=true
If you only have a mask and a cube you can deblend those too with:
deblend_cube sofia.original_data_cube=<HI data cube.fits> sofia.original_mask=<blended mask.fits>
please see the advanced input in readthedocs for an explanation of all parameters in the yaml file.
Metadata
Release files for deblend-sofia-detections 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| deblend_sofia_detections-1.0.0.tar.gz | 77.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| deblend_sofia_detections-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 166.0 kB
Release files / deblend_sofia_detections-1.0.0.tar.gz
| Download URL | deblend_sofia_detections-1.0.0.tar.gz |
|---|---|
| Size | 77.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64cbd9837126240962a78c65b6b7b0aaa592324b6620229f905be063365f0aa5
|
|
BLAKE2b-256 checksum How to use checksums |
421075161e7d9d6bf211e1c3368b9d34a933c35686b87eacfda8fa8eed9b0e6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.
Transparency logRelease files / deblend_sofia_detections-1.0.0-py3-none-any.whl
| Download URL | deblend_sofia_detections-1.0.0-py3-none-any.whl |
|---|---|
| Size | 88.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e991003902a2b49f1d2ebbfe96b5b7fb30a84bc25e7f4bab4d4d73f6352140c6
|
|
BLAKE2b-256 checksum How to use checksums |
fa5f07edb275aded9096019c465bbbfffc705b646f8cf2c29a21b5026e3e3024
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.
Transparency log