Skip to main content

For automating the loading, navigation, alignment, filter and export of image and spot data

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

filospot-0.1.0.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

filospot-0.1.0-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

Details for the file filospot-0.1.0.tar.gz.

File metadata

  • Download URL: filospot-0.1.0.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for filospot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 afff4274dead9aa6b44917d8a281d5415fb15d9858b29bd575660b1d8421acf9
MD5 38b488b4642792005ed3f20300985cbc
BLAKE2b-256 9a22ba921513babe94a40a3744c41dee155a3bc425a9f92cee34ecc2c4f63beb

See more details on using hashes here.

File details

Details for the file filospot-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: filospot-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for filospot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 873e96d9b7a08e05534e8eb4ec2edf693791fa5b2e3650cec8b5502f848c2fba
MD5 fbd505451d19383011b5a38246ceeb9a
BLAKE2b-256 735ba02d89527ad6fd7055bc5bcc4a442e80544279794d01371be9e638fda35d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page