Libertem

Latest version: v0.14.0

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

Scan your dependencies

Page 7 of 13

0.5.0

New features

* In addition to tuples, Shape objects can be used as extra_shape parameter for libertem.udf.base.UDF.buffer() and libertem.udf.base.UDF.aux_data() now. (694)
* Progress bar support based on tqdm that can be enabled by passing progress=True to libertem.api.Context.run_udf(), libertem.api.Context.run() and libertem.api.Context.map(). See also Using progress bar. (613, 670, 655)
* Include explicit support for Direct Electron’s DE5 format based on HDF5. (704)
* GUI: Downloadable results as HDF5, NPZ, TIFF, and RAW. See Downloading results for details. (665)
* libertem.api.Context.load() now automatically detects file type and parameters if filetype="auto" is passed. (610, 621, 734)
* Relocatable GUI: Allow LiberTEM to run from different URL prefixes, allowing integration into, for example, JupyterLab. (697)
* Run preprocess() also before merge on the master node to allocate or initialize buffers, in addition to running on the workers (624).
* No need to set thread count environment variables anymore since the thread count for OpenBLAS, OpenMP, Intel MKL and pyFFTW is now set on the workers at run-time. Numba support will be added as soon as Numba 0.49 is released. (685).

Bugfixes
* A large number of usability improvements (622, 639, 641, 642, 659, 666, 690, 699, 700, 704). Thanks and credit to many new contributors from GSoC!
* Fixed the buggy “enable Direct I/O” checkbox of the RAW dataset and handle unsupported operating systems gracefully. (696, 659)

Documentation
* Added screenshots and description of ROI and stddev features in usage docs (669)
* Improved instructions for installing LiberTEM (general: 664; for development: 598)
* Add information for downloading and generating sample datasets: Sample Datasets. (650, 670, 707)

Obsolescence
* Parameters crop_detector_to and detector_size_raw of libertem.io.dataset.raw.RawFileDataSet are deprecated and will be removed after 0.6.0. Please specify detector_size instead or use a specialized DataSet, for example for EMPAD.
* libertem.udf.feature_vector_maker.FeatureVecMakerUDF is deprecated and will be removed in 0.6.0. Use ApplyMasksUDF with a sparse stack of single pixel masks or a stack generated by libertem_blobfinder.common.patterns.feature_vector() instead. (618)

Misc
* Clustering analysis
* Use a connectivity matrix to only cluster neighboring pixels, reducing memory footprint while improving speed and quality (618).
* Use faster ApplyMasksUDF to generate feature vector (618).
* StdDevUDF
* About 10x speed-up for large frames (625, 640)
* Rename result buffers of StdDevUDF, run_stddev() and consolidate_result() from 'sum_frame' to 'sum', 'num_frame' to 'num_frames' (640)
* Resolve ambiguity between variance and sum of variances in result buffer names of StdDevUDF, run_stddev() and consolidate_result(). (640)
* LiberTEM works with Python 3.8 for experimental use. A context using a remote Dask.Distributed cluster can lead to lock-ups or errors with Python 3.8. The default local Dask.Distributed context works.
* Improve performance with large tiles. (649)
* SumUDF moved to the libertem.udf folder (613).
* Make sure the signal dimension of result buffer slices can be flattened without creating an implicit copy (738, 739)

Travis CI build log: https://travis-ci.org/LiberTEM/LiberTEM/builds/678579836

0.5.0rc2

Travis CI build log: https://travis-ci.org/LiberTEM/LiberTEM/builds/678131768

0.5.0rc1

Travis CI build log: https://travis-ci.org/LiberTEM/LiberTEM/builds/677188643

0.4.1

Changelog: https://libertem.github.io/LiberTEM/changelog.html#v0-4-1

This is a bugfix release, mainly constraining the msgpack dependency, as distributed is not compatible to version 1.0 yet. It also contains important fixes in the HDF5 dataset.

Bugfixes
* Fix HDF5 with automatic tileshape (608)
* Fix reading from HDF5 with roi beyond the first partition (606)
* Add version constraint on msgpack

Travis CI build log: https://travis-ci.org/LiberTEM/LiberTEM/builds/652087864

0.4.1rc0

Travis CI build log: https://travis-ci.org/LiberTEM/LiberTEM/builds/652068528

0.4.0

Changelog: https://libertem.github.io/LiberTEM/changelog.html#v0-4-0

The main points of this release are the [Job API deprecation](https://libertem.github.io/LiberTEM/changelog.html#job-deprecation) and restructuring of our packaging, namely [extracting the blobfinder module](https://libertem.github.io/LiberTEM/changelog.html#restructuring-0-4).

New features
* dtype support for UDFs dtype support (549, 550)
* Dismiss error messages via keyboard: allows pressing the escape key to close all currently open error messages (437)
* ROI doesn’t have any effect if in pick mode, so we hide the dropdown in that case (511)
* Make tileshape parameter of HDF5 DataSet optional (578)
* Open browser after starting the server. Enabled by default, can be disabled using –no-browser (81, 580)
* Implement libertem.udf.masks.ApplyMasksUDF as a replacement of ApplyMasksJob (549, 550)
* Implement libertem.udf.raw.PickUDF as a replacement of PickFrameJob (549, 550)

Bug fixes
* Fix FRMS6 in a distributed setting. We now make sure to only do I/O in methods that are running on worker nodes (531).
* Fixed loading of nD HDF5 files. Previously the HDF5 DataSet was hardcoded for 4D data - now, arbitraty dimensions should be supported (574, 567)
* Fix DaskJobExecutor.run_each_host. Need to pass pure=False to ensure multiple runs of the function (528).

Obsolescence
* Because HDFS support is right now not tested (and to my knowledge also not used) and the upstream hdfs3 project is not actively maintained, remove support for HDFS. ClusterDataSet or CachedDataSet should be used instead (38, 534).

Misc
* Depend on distributed>=2.2.0 because of an API change. (577)
* All analyses ported from Job to UDF back-end. The Job-related code remains for now for comparison purposes (549, 550)

Travis CI build log: https://travis-ci.org/LiberTEM/LiberTEM/builds/650034945

Page 7 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.