Celldetective

Latest version: v1.3.9.post5

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.3.9.post5

1.3.9.post4

Here's what's new:

- Event Detection & Signal Analysis
- New **contraction detection model**: we replaced the `NucCondensation` event detection model with a better one, designed to track contractions in cell area, particularly for nuclear area changes during cell death.
- Signal pooling: when pooling single-cell signals, you can now set a **minimum number of cells** required at each time point to compute the pooled signal (mean or median).
- **Advanced Region Properties** & Measurements
- Updated `regionprops` integration: Celldetective now passes non-masked bounding box images along with associated masks for measurement.
- As a direct consequence, users can now perform threshold-segmentation derived measurements at the measurement step by leveraging `extra_properties`.
- Proposed application: measure adhesion patches in RICM when segmentation is performed using both brightfield and RICM channels (such measurements have been added to `extra_properties.py`). To address 13
- Explicit channel selection: You can now specify which channel to measure in `extra_properties`, avoiding unnecessary symmetric measurements across all channels.
- Smarter detection of extra properties: The software now accurately detects only user-defined functions in the `extra_properties.py` submodule, ignoring internal imports.
- UI & Quality-of-Life Improvements
- More precision in threshold selection: The threshold slider in the Threshold Configuration Wizard now includes more decimal points for finer control.

UPDATE 1.3.9.post1: fix `WindowsPath` object undefined on Windows. Commit ecf774d.
UPDATE 1.3.9.post2: `TRACK_ID` not defined for static data when remeasuring. Commit 90dfca03c0233fb14675e652d81303bba9820574.
UPDATE 1.3.9.post3: minor fixes: `extract_experiment_channels` bug fixed everywhere. New R2 score with `intensity_radial_gradient` extra property, gradient from center to edge. Renaming some extra properties.
UPDATE 1.3.9.post4: fix bug with regionprops when a measurement function outputs only a single measurement/

**Full Changelog**: https://github.com/celldetective/celldetective/compare/v1.3.8.post1...v1.3.9.post3

1.3.8.post1

Here’s what’s new:

* Signal Analysis
* **Multiple Pooling Options**: You can now choose between mean (+/- STD) and median (+/- MAD) time series when pooling data across cells, providing more flexibility for signal analysis.
* Robust handling of missing event times: Plotting on absolute times is now possible even when event times are missing, ensuring better compatibility with incomplete datasets.
* Table UI
* Column operations: Perform **arithmetic operations (Divide, Multiply, Add, Subtract) between columns** to generate new descriptions directly in the UI.
* Bug fix: Prevent breaking when `FRAME` values are stored as floats.
* Threshold Segmentation
* **Multi-configuration segmentation**: Upload multiple threshold segmentation configurations to perform back-to-back segmentation. Masks are now assembled with an OR condition, combining results from all configurations (including paired cells). Request 13.
* Experiment Labels/Metadata
* **Custom labels and metadata**: Add multiple well labels and experiment metadata directly in the `config.ini` file:
* Labels (in the Labels section) support comma-separated lists to match the number of wells.
* Metadata (in the Metadata section) applies to the entire experiment.
* These fields are displayed in the GUI and attached to tables for streamlined plotting and analysis.
* Additional Changes
* Image loading: switched from `skimage.io.imread` to `imageio.v2.imread` to avoid deprecation warnings.
* Track post-processing: Disabled the `interpolate_nan` option for measurements.
* Compatibility: Improved error handling (AttributeError) when loading Keras models to support a wider range of Keras versions.
* Fixed track interpolation warnings by inferring Series dtype and interpolating only non-object-type series.
* Allowed larger circle sizes when estimating cell size for the Cellpose model.
* Update on the nuclear condensation event model (`NucCond` with updated Zenodo), version post1

**Full Changelog**: https://github.com/celldetective/celldetective/compare/v1.3.7.post2...v1.3.8.post1

1.3.7.post2

With this release, we introduce progress bars directly in the GUI for some of the most computationally heavy tasks (segmentation, tracking, measurements) with an abort function to seamlessly cancel a task and check results for the first few frames.

**Full Changelog**: https://github.com/celldetective/celldetective/compare/v1.3.6.post2...v1.3.7.post2

1.3.6.post2

Here's what's new:

* New Features and Enhancements
* **Trackpy Integration** as a New Tracker Option
* Added Trackpy as a secondary tracking algorithm.
* Benefits: Faster and easier to configure—just tune the search distance and memory parameters for optimal performance.
* Concentration Units in **Project Metadata**
* Upon creating a new experiment project, you can now specify concentration units, after request from DizBell.
* These units are automatically included in the metadata section of the configuration file and propagated to output tables for consistency.
* **Pre-Event Conditions** for All Time-Propagation Methods
* The pre-event condition now applies to all time-propagation methods when classifying events, improving versatility and precision.
* Image **Preprocessing Before Spot Detection**
* You can now perform image preprocessing directly before spot detection.
* **Invert Operation** for Preprocessing
* Introduced an invert operation with a customizable symmetry value (default: 65536).
* Useful for preprocessing image data where inversion is necessary for analysis.
* **Transient Event Detection**
* Added support for detecting transient events using a condition-based method: if a condition is true for at least one frame, a peak detection algorithm identifies all time points where the condition holds. It automatically selects the longest continuous segment of such events.
* Designed for use with derivatives or second derivatives of features like intensity or area, or multivariate peaks.
* Bug fixes
* Resolved minor issues to improve stability and performance.
* Added a routine to catch exceptions with multithreading.

**Full Changelog**: https://github.com/celldetective/celldetective/compare/v1.3.5...v1.3.6.post2

1.3.5

Introducing Track Correction in Celldetective
=============================

Celldetective now empowers users to edit trajectories directly in napari, marking a significant step forward in trajectory refinement and analysis.

Previously, users could view the raw bTrack output in napari, where cell masks were dynamically relabeled to ensure consistent mask values for the same cells across all frames. Now, with the new **Track Correction** feature, you can seamlessly edit trajectories:

1. Select & Edit with Precision: Use the pipette tool to pick a cell mask value, navigate to the next frame, and assign that value to any target cell.
2. Automatic Propagation: The new value propagates across all time points for the selected cell, ensuring consistency.
3. Dynamic Relabeling: If another cell shares the selected value, it is automatically reassigned the next available ``TRACK_ID``, effectively creating a new, distinct trajectory.

This functionality enables intuitive rewiring of tracking branches and the automatic initialization of new tracks for separated branches. Upon saving, trajectory tables are instantly updated to reflect the changes, maintaining compatibility with existing post-processing workflows. From there, you can proceed with measurements or remeasurements effortlessly.

With track correction, Celldetective enhances your ability to refine and analyze cell trajectories, unlocking new possibilities for advanced tracking and accurate data interpretation.

Notable changes
===========

New Features and Enhancements
------------------------------------

1. **Survival Function for Cell Pairs**: Event times can now be derived from cell pairs or individual partners, enabling synchronized survival analysis. Example: An effector cell forms a synapse with a target cell at $t_\textrm{syn}$ (pair event), and the target dies at $t_\textrm{death}$. Now, you can plot the survival of the target cell synchronized to $t_\textrm{syn}$.
2. **Radial Distance Measurement**: Radial distance to the image center is now measured automatically, simplifying edge-exclusion tasks during analysis.
3. **Dynamic Intensity Feature Handling**: The intensity_mean feature now switches automatically to intensity_nanmean when required, with column names updated accordingly.
4. **Edge-Censoring for First Detection Events**: Cells appearing near image edges are now left-censored for their first detection event. Rationale: Tracks starting close to the edge likely represent cells entering the frame, not sedimenting.
5. **Pre-Event Option for Irreversible Events**: Define pre-requisite events for your primary event of interest.
Cells without the pre-event are assigned NaN for the main event until the pre-event time, ensuring robust event classification.
6. **Priority-Based Time Series Selection**: A hierarchical system for time series selection in event detection models: First preference: Exact match with time series name. Second preference: Name starts with the requirement. Third preference: Requirement appears anywhere in the name.
7. **BigTIFF Encoding for Large Images**: Preprocessing now uses BigTIFF encoding to avoid stack errors for large images (> 4 GB).

Improvements and Fixes
--------------------------

1. Colormap Bug Resolved: Improved stability and accuracy of visualizations.
2. Automatic Tight Layouts for Figures: Widgets now resize dynamically with tight layouts applied for cleaner visuals.
3. General Bug Fixes: Addressed various minor bugs to enhance usability and performance.

These updates aim to refine workflows, improve data quality, and expand Celldetective’s analytical capabilities. Upgrade now to explore these features!


**Full Changelog**: https://github.com/celldetective/celldetective/compare/v1.3.4.post1...v1.3.5

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.