Skip to main content

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

python

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.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deblend-sofia-detections 1.1.0
File Size Uploaded Provenance Actions
deblend_sofia_detections-1.1.0.tar.gz 82.5 kB With provenance Details for deblend_sofia_detections-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for deblend-sofia-detections 1.1.0
File Interpreter ABI Platform Actions
deblend_sofia_detections-1.1.0-py3-none-any.whl Python 3 none any Details for deblend_sofia_detections-1.1.0-py3-none-any.whl

Total release size: 174.5 kB

Release files / deblend_sofia_detections-1.1.0.tar.gz

Download URL deblend_sofia_detections-1.1.0.tar.gz
Size 82.5 kB
Tags Source
SHA-256 checksum
How to use checksums
687ef45ace00fe1b3f7d1f452e10abaa08abf50511e9872e9758f23f50fabb7b
BLAKE2b-256 checksum
How to use checksums
7d862a969bed48a1155b5419ce1ffde28990b988edc34b713b9a5b9d42ed06b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 30, 2026.

Transparency log

Release files / deblend_sofia_detections-1.1.0-py3-none-any.whl

Download URL deblend_sofia_detections-1.1.0-py3-none-any.whl
Size 92.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03193eb74a9eea12a0687b615cef61e28882d72624f2703d6ff8a065eee60515
BLAKE2b-256 checksum
How to use checksums
941928b8d20b2268fc53deaa0654542f4d669ee653495d944eeda10fbcea706b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 30, 2026.

Transparency log

Security for deblend-sofia-detections 1.1.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for deblend_sofia_detections-1.1.0.tar.gz

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 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page