Locan

Latest version: v0.20.0

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

Scan your dependencies

Page 4 of 5

0.5.1

==================
- Update environment and requirement files

0.5

================


New Features
------------

locan.utils
^^^^^^^^^^^^^^^
- Module locan.utils.system_information with methods to get debugging information is added.

locan.analysis
^^^^^^^^^^^^^^^
- LocalizationPropertyCorrelation analysis class is added.

locan.data
^^^^^^^^^^^^^^^
- LocData.from_coordinates() is added.
- LocData.update() method is added to change dataframe with correspodning updates of hull, properties and metadata.
- Methods to compute alpha shape hulls are added.
- Pickling capability for LocData is added.

locan.render
^^^^^^^^^^^^^^^
- scatter_2d_mpl() is added. to show locdata as scatter plot

locan.scripts
^^^^^^^^^^^^^^^
- show_versions()


API Changes
-----------

locan.analysis
^^^^^^^^^^^^^^^
- LocalizationProperty2D was modified and fixed.

locan.data
^^^^^^^^^^^^^^^
- locan.data.region_utils module is added with utility functions to analyze locdata regions.
- RoiRegions are added that support shapely Polygon and MultiPolygon objects.


Bug Fixes
---------


locan.analysis
^^^^^^^^^^^^^^^
- Adapt colormap and rescaling in LocalizationProperty2D plot functions.

0.4.1

==================


Bug Fixes
---------

locan.analysis
^^^^^^^^^^^^^^^
- Fix LocalizationProperty2d fit procedure

Other Changes and Additions
---------------------------
- Increase import performance

0.4

================

New Features
------------
- New function test() to run pytest on whole test suite.

locan.data
^^^^^^^^^^^^^^^
- New rasterize function to divide localization support into rectangular rois.
- New functions to perform affine transformation using open3d.
- New functions to perform registration using open3d.
- New function for drift correction using icp (from open3d).
- Increase performance of maximum distance computation of localization data.

locan.datasets
^^^^^^^^^^^^^^^
- Added functions to load example datasets. The datasets will be provided in a separate directory (repository).

locan.scripts
^^^^^^^^^^^^^^^
- Introduced command-line interface with compound commands.
- New script to render localization data in napari
- New script to define and save rois using napari
- New script to render localizations onto raw data images


API Changes
-----------

locan.analysis
^^^^^^^^^^^^^^^
- New analysis class for drift estimation.
- New analysis class for analysing 2d distribution of localization property.

locan.data
^^^^^^^^^^^^^^^
- Deprecate `update_convex_hull_in_collection()`. Use `LocData.update_convex_hulls_in_references()`.
- Metadata on time is changed from timestamp to formatted time expression.

locan.render
^^^^^^^^^^^^^^^
- Default colormaps are set to selected ones from colorcet or matplotlib.
- Add histogram function for rendering localization data.
- Add render functions to work with mpl, mpl-scatter-density, napari

locan.scripts
^^^^^^^^^^^^^^^
- Add selection option for ellipse roi.

locan.simulation
^^^^^^^^^^^^^^^^^^^
- Add functions for drift simulation.


Bug Fixes
---------

locan.data
^^^^^^^^^^^^^^^
- Fixed update of bounding_box, convex_hull and oriented bounding box.


Other Changes and Additions
---------------------------
- Added centroid and dimension property to LocData.
- Implemented use of QT_API to set the QT bindings and work in combination with napari.
- Make shapely a required dependency.

0.3

================

New Features
------------

locan.analysis
^^^^^^^^^^^^^^^
- Added analysis class BlinkStatistics to compute on/off times in localization cluster.

locan.data
^^^^^^^^^^^^^^^
- Introduced global variable locdata_id that serves as standard running ID for LocData objects.
- Added function update_convex_hulls_in_collection


API Changes
-----------

locan.analysis
^^^^^^^^^^^^^^^
- Refactored all analysis class names to CamelCode.
- Refactored handling of LocData input in analysis classes to better resemble the scikit-learn API.

locan.simulation
^^^^^^^^^^^^^^^^^^^
- Deleted deprecated simulation functions.


Other Changes and Additions
---------------------------

- Refactored all localization property names to follow the convention to start with small letters.
- Changed import organization by adding __add__ to enable import locan as sp.
- Added dockerfiles for using and testing locan.
- various other small changes and fixes as documented in the version control log.

0.2

================

New Features
------------

locan.analysis
^^^^^^^^^^^^^^^
- implemented an analysis class CoordinateBasedColocalization.
- implemented an analysis class AccumulationClusterCheck.

locan.data
^^^^^^^^^^^^^^^
- implemented a function exclude_sparse_points to eliminate localizations in low local density regions.
- implemented a function to apply affine coordinate transformations.
- implemented a function to to apply a Bunwarp-transformation based on the raw transformation matrix from the ImageJ
plugin BUnwarpJ

locan.simulation
^^^^^^^^^^^^^^^^^
- implemented functions to simulate localization data based on complete spatial randomness, Thomas, or Matern processes.
- implemented functions simulate_xxx to provided LocData objects.
- implemented functions make_xxx to provide point coordinates.


API Changes
-----------

locan.data
^^^^^^^^^^^^^^^
- implemented a new region of interest management. A RoiRegion class was defined as region object in Roi objects.


Bug Fixes
---------

locan.data
^^^^^^^^^^^^^^^
- corrected index handling in track.track(), LocData.data and LocData.reduce().

locan.io
^^^^^^^^^^^^^^^
- changed types for column values returned from load_thunderstorm_file.

Page 4 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.