
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Lfdfiles is a Python library and console script for reading, writing,
converting, and viewing many of the proprietary file formats used
to store experimental data and metadata at the
Laboratory for Fluorescence Dynamics <https://www.lfd.uci.edu/>
_.
For example:
:Author: Christoph Gohlke <https://www.cgohlke.com>
_
:License: BSD 3-Clause
:Version: 2024.10.24
:DOI: 10.5281/zenodo.8384166 <https://doi.org/10.5281/zenodo.8384166>
_
Install the lfdfiles package and all dependencies from the
Python Package Index <https://pypi.org/project/lfdfiles/>
_::
python -m pip install -U "lfdfiles[all]"
Print the console script usage::
python -m lfdfiles --help
The lfdfiles library is type annotated and documented via docstrings.
See Examples
_ for using the programming interface.
Source code and support are available on
GitHub <https://github.com/cgohlke/lfdfiles>
_.
This revision was tested with the following requirements and dependencies (other versions may work):
CPython <https://www.python.org>
_ 3.10.11, 3.11.9, 3.12.7, 3.13.0 64-bitCython <https://pypi.org/project/cython/>
_ 3.0.11 (build)NumPy <https://pypi.org/project/numpy/>
_ 2.1.2Tifffile <https://pypi.org/project/tifffile/>
_ 2024.9.20 (optional)Czifile <https://pypi.org/project/czifile/>
_ 2019.7.2 (optional)Oiffile <https://pypi.org/project/oiffile/>
_ 2024.5.24 (optional)Netpbmfile <https://pypi.org/project/netpbmfile/>
_ 2024.5.24 (optional)Matplotlib <https://pypi.org/project/matplotlib/>
_ 3.9.2
(optional, for plotting)Click <https://pypi.python.org/pypi/click>
_ 8.1.7
(optional, for command line apps)2024.10.24
2024.9.15
2024.5.24
2024.4.24
2024.3.4
2023.9.26
2023.9.16
2023.8.30
Refer to the CHANGES file for older revisions.
The API is not stable yet and might change between revisions.
Python <= 3.8 is no longer supported. 32-bit versions are deprecated.
The latest Microsoft Visual C++ Redistributable for Visual Studio 2015-2022 <https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist>
_
is required on Windows.
Many of the LFD's file formats are not documented and might change arbitrarily. This implementation is mostly based on reverse engineering existing files. No guarantee can be made as to the correctness of code and documentation.
Experimental data are often stored in plain binary files with metadata
available in separate, human readable journal files (.jrn
).
Unless specified otherwise, data are stored in little-endian, C contiguous order.
The following software is referenced in this module:
SimFCS <https://www.lfd.uci.edu/globals/>
_, a.k.a. Globals for
Images, is software for fluorescence image acquisition, analysis, and
simulation, developed by Enrico Gratton at UCI.Globals <https://www.lfd.uci.edu/globals/>
_, a.k.a. Globals for
Spectroscopy, is software for the analysis of multiple files from
fluorescence spectroscopy, developed by Enrico Gratton at UIUC and UCI.FlimFast <https://www.cgohlke.com/flimfast/>
_ is software for
frequency-domain, full-field, fluorescence lifetime imaging at video
rate, developed by Christoph Gohlke at UIUC.VistaVision <http://www.iss.com/microscopy/software/vistavision.html>
_
is commercial software for instrument control, data acquisition and data
processing by ISS Inc (Champaign, IL).Vaa3D <https://github.com/Vaa3D>
_ is software for multi-dimensional
data visualization and analysis, developed by the Hanchuan Peng group at
the Allen Institute.Voxx <https://voxx.sitehost.iu.edu/>
_ is a volume rendering program
for 3D microscopy, developed by Jeff Clendenon et al. at the Indiana
University.CCP4 <https://www.ccp4.ac.uk/>
_, the Collaborative Computational Project
No. 4, is software for macromolecular X-Ray crystallography.Create a Bio-Rad PIC file from a NumPy array:
data = numpy.arange(1000000).reshape(100, 100, 100).astype('u1') bioradpic_write('_biorad.pic', data)
Read the volume data from the PIC file as NumPy array, and access metadata:
with BioradPic('_biorad.pic') as f: ... f.shape ... f.spacing ... data = f.asarray() ... (100, 100, 100) (1.0, 1.0, 1.0)
Convert the PIC file to a compressed TIFF file:
with BioradPic('_biorad.pic') as f: ... f.totiff('_biorad.tif', compression='zlib') ...
FAQs
Laboratory for Fluorescence Dynamics (LFD) file formats
We found that lfdfiles demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.