Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

torch-cryoeraser

License PyPI Python Version CI codecov

torch-cryoeraser is a Python package for erasing local regions of cryo-EM images.

result of using torch-cryoeraser

Image data in masked regions are replaced with noise matching local image statistics.

Installation

pip install torch-cryoeraser

Usage

import torch
import tifffile
from torch_cryoeraser import erase_region_2d

# load image and mask
image = tifffile.imread("image.tif")
mask = tifffile.imread("mask.tif")

# to torch tensor
image = torch.tensor(image)
mask = torch.tensor(mask)

# erase masked regions
erased_image = erase_region_2d(image=image, mask=mask)

for more info, please check the documentation.

Metadata

Release files for torch-cryoeraser 0.6.0rc2

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

Source distribution (sdist)

Source distribution for torch-cryoeraser 0.6.0rc2
File Size Uploaded
torch_cryoeraser-0.6.0rc2.tar.gz 127.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for torch-cryoeraser 0.6.0rc2
File Interpreter ABI Platform
torch_cryoeraser-0.6.0rc2-py3-none-any.whl Python 3 none any Details

Total release size: 134.7 kB

Release files / torch_cryoeraser-0.6.0rc2.tar.gz

Download URL torch_cryoeraser-0.6.0rc2.tar.gz
Size 127.8 kB
Tags Source
SHA-256 checksum
How to use checksums
00afb9d52179c0fe5dbad90c7cb05eab6c1f86ff1931e77dcedd8c526e6aabb3
BLAKE2b-256 checksum
How to use checksums
287afb04bb54442ddb4b4eadb14e3954a909beaf77c2bf58140af85117e36d34
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 Sep 11, 2026.

Transparency log

Release files / torch_cryoeraser-0.6.0rc2-py3-none-any.whl

Download URL torch_cryoeraser-0.6.0rc2-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
90322a3c7c8010677b2fa5732d025619f90e3b69ac196696fffd17f09d770499
BLAKE2b-256 checksum
How to use checksums
5896f8d52551aaffff28c933adcccd0fcecdd0084ffb44a49eac220542868ad2
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 Sep 11, 2026.

Transparency log
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