Published December 7, 2023
| Version v1.3.0
Software
Open
lumicks/pylake: v1.3.0
Authors/Creators
- 1. Lumicks
- 2. @lumicks
- 3. LUMICKS
- 4. LUMICKS BV
Description
New features
- Added option to export
ImageStackandScanstacks to movies correlated with channel data. Simply pass aSliceto thechannel_sliceparameter ofScan.export_video()orImageStack.export_video(). - Added more options for plotting color channels for images:
- Shortcuts
"r","g", and"b"can now be used for plotting single color channels in addition to"red","green", and"blue". - Two-channel visualizations can be plotted using
"rg","gb", or"rb".
- Shortcuts
- Added option to filter tracks by duration in seconds using
lk.filter_tracks(tracks, minimum_duration=duration_in_seconds). - Added option to align plots vertically by passing
vertical=TruetoScan.plot_correlatedandImageStack.plot_correlated(). - Added
durationproperty toKymoTrackwhich returns the duration (in seconds) that the track was observed. - Added
KymoTrackGroup.filter()to filter tracks in-place.tracks.filter(minimum_duration=2)is equivalent totracks = lk.filter_tracks(tracks, minimum_duration=2).
Bug fixes
- Fixed a bug in
Scan.plot()in which the default aspect ratio was calculated such that pixels always appeared square. For scans with non-square pixel sizes, this would result in distortion of the image. - Fixed a bug in
Slice.downsampled_likethat would fail to raise an error due to a lack of overlap between the low frequency and high frequency channel when the high frequency channel starts within the last sample of the low frequency channel. - Fixed
lk.download_from_doi()to align with new Zenodo REST API. - Don't store animation writer in a temporary variable as this results in a
matplotliberror when attempting to export a movie on jupyter notebook.
Improvements
- Kymographs consisting of a single scan line now return a valid
line_time_seconds. This allows certain downstream functionality, such asKymo.plot(). - Issue a more descriptive error when attempting to compute a diffusion constant of a track with no points.
- Pylake can now handle kymographs that were erroneously stored in the
Scanfield. Kymographs with a pre-specified number of lines to record were incorrectly being marked on the timeline and exported asScaninstead ofKymographin versions of Bluelake prior to2.5.0.
Files
lumicks/pylake-v1.3.0.zip
Files
(1.8 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:1402dbc58efd53293999275f7b9be8bb
|
1.8 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/lumicks/pylake/tree/v1.3.0 (URL)