Skip to main content

Filospot

A napari plugin for automating the loading, navigation, alignment, filter and export of image and spot data.

Installation

You can install filospot via pip:

pip install filospot

To install latest development version:

pip install git+https://github.com/qin-yu/filospot.git

Or install from source:

git clone https://github.com/qin-yu/filospot.git
cd filospot
pip install -e .

Usage

As a napari plugin

After installation, the plugin will be available in napari. You can access the filospot widget through:

  • Plugins > filospot > Filospot - Image and Spot Analysis

The plugin provides a unified interface with sections for:

  • Import: Load directories containing raw images, reference images, and CSV spot detection files
  • Navigation: Browse through image datasets with Previous/Next buttons and dropdown selection
  • Align Reference: Apply pixel-level translation to align reference images with main images
  • Filtering: Filter detected spots based on intensity thresholds in reference images
  • Export: Export filtered spots to CSV format

As a standalone application

filospot

This launches the full napari application with filospot widgets pre-loaded.

Programmatically

from filospot import main
main()

Or use individual components:

from filospot import DataNavigator, filter_spots_by_reference
from filospot.alignment import apply_pixel_translation

# Create a data navigator
navigator = DataNavigator()
navigator.load_paths(tif_dir, ref_dir, csv_dir)

# Apply image alignment
aligned_image = apply_pixel_translation(image, 0, 5, -2)

Features

  • Multi-format support: Load TIFF images and CSV spot detection files
  • Reference alignment: Pixel-level translation alignment with visual feedback
  • Advanced filtering: Filter spots by intensity with optional Gaussian blur
  • Live visualization: Real-time contrast updates and threshold visualization
  • Batch processing: Navigate through entire datasets efficiently
  • Export functionality: Save filtered results to CSV

Project Structure

  • filospot/app.py - Main application entry point
  • filospot/_widget.py - Napari plugin widget interface
  • filospot/data_navigator.py - Data loading and navigation functionality
  • filospot/alignment.py - Image alignment utilities
  • filospot/filtering.py - Spot filtering functionality
  • filospot/widgets.py - GUI widgets and interface components
  • filospot/config.py - Configuration and constants
  • filospot/napari.yaml - Napari plugin manifest
  • tests/ - Test suite for plugin functionality
  • conda-recipe/ - Conda package recipe for conda-forge distribution

Requirements

  • Python >= 3.8
  • napari[all]
  • numpy
  • pandas
  • tifffile
  • magicgui
  • scipy

Metadata

Release files for filospot 0.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 filospot 0.1.0
File Size Uploaded Provenance Actions
filospot-0.1.0.tar.gz 18.4 kB Without provenance Details for filospot-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for filospot 0.1.0
File Interpreter ABI Platform Actions
filospot-0.1.0-py3-none-any.whl Python 3 none any Details for filospot-0.1.0-py3-none-any.whl

Total release size: 41.6 kB

Release files / filospot-0.1.0.tar.gz

Download URL filospot-0.1.0.tar.gz
Size 18.4 kB
Tags Source
SHA-256 checksum
How to use checksums
afff4274dead9aa6b44917d8a281d5415fb15d9858b29bd575660b1d8421acf9
BLAKE2b-256 checksum
How to use checksums
9a22ba921513babe94a40a3744c41dee155a3bc425a9f92cee34ecc2c4f63beb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Release files / filospot-0.1.0-py3-none-any.whl

Download URL filospot-0.1.0-py3-none-any.whl
Size 23.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
873e96d9b7a08e05534e8eb4ec2edf693791fa5b2e3650cec8b5502f848c2fba
BLAKE2b-256 checksum
How to use checksums
735ba02d89527ad6fd7055bc5bcc4a442e80544279794d01371be9e638fda35d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Security for filospot 0.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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