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

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.1
File Size Uploaded Provenance Actions
deblend_sofia_detections-1.1.1.tar.gz 82.6 kB With provenance Details for deblend_sofia_detections-1.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 174.7 kB

Release files / deblend_sofia_detections-1.1.1.tar.gz

Download URL deblend_sofia_detections-1.1.1.tar.gz
Size 82.6 kB
Tags Source
SHA-256 checksum
How to use checksums
dc695dd8241b31d22535c447a87fb127eb4496cc90bb8d19e3551ccd6655c25e
BLAKE2b-256 checksum
How to use checksums
8ab89d2a98f2f1bf793ccb5468b5a2e225d5d0e739a61c94725b4d3d1f607cce
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 Nov 19, 2026.

Transparency log

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

Download URL deblend_sofia_detections-1.1.1-py3-none-any.whl
Size 92.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba6646a22e187b775f423abdc0b88bbf3f340d95ac12fd30987ec80086d76edf
BLAKE2b-256 checksum
How to use checksums
4c3065efa7d1fcbaa535c0b37f5b8a00cd4f8a7afacaefa9b684ce89805412b3
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 Nov 19, 2026.

Transparency log

Security for deblend-sofia-detections 1.1.1

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for deblend_sofia_detections-1.1.1.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 Nov 19, 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