===============================
LZF filter for HDF5, revision 3
===============================
The LZF filter provides high-speed compression with acceptable compression
performance, resulting in much faster performance than DEFLATE, at the
cost of a slightly lower compression ratio. It's appropriate for large
datasets of low to moderate complexity, for which some compression is
much better than none, but for which the speed of DEFLATE is unacceptable.
This filter has been tested against HDF5 versions 1.6.5 through 1.8.3. It
is released under the BSD license (see LICENSE.txt for details).
Using the filter from HDF5
--------------------------
There is exactly one new public function declared in lzf_filter.h, with
the following signature:
int register_lzf(void)
Calling this will register the filter with the HDF5 library. A non-negative
return value indicates success. If the registration fails, an error is pushed
onto the current error stack and a negative value is returned.
It's strongly recommended to use the SHUFFLE filter with LZF, as it's
cheap, supported by all current versions of HDF5, and can significantly
improve the compression ratio. An example C program ("example.c") is included
which demonstrates the proper use of the filter.
Compiling
---------
The filter consists of a single .c file and header, along with an embedded
version of the LZF compression library. Since the filter is stateless, it's
recommended to statically link the entire thing into your program; for
example:
$ gcc -O2 -lhdf5 lzf/*.c lzf_filter.c myprog.c -o myprog
It can also be built as a shared library, although you will have to install
the resulting library somewhere the runtime linker can find it:
$ gcc -O2 -lhdf5 -fPIC -shared lzf/*.c lzf_filter.c -o liblzf_filter.so
A similar procedure should be used for building C++ code. As in these
examples, using option -O1 or higher is strongly recommended for increased
performance.
Contact
-------
This filter is maintained as part of the HDF5 for Python (h5py) project. The
goal of h5py is to provide access to the majority of the HDF5 C API and feature
set from Python. The most recent version of h5py (1.1) includes the LZF
filter by default.
* Downloads and bug tracker: http://h5py.googlecode.com
* Main web site and documentation: http://h5py.alfven.org
* Contact email: h5py at alfven dot org
History of changes
------------------
Revision 3 (6/25/09)
Fix issue with changed filter struct definition under HDF5 1.8.3.
Revision 2
Minor speed enhancement.
Revision 1
Initial release.
没有合适的资源?快使用搜索试试~ 我知道了~
h5py-2.2.1.tar.gz
0 下载量 58 浏览量
2024-06-18
23:24:02
上传
评论
收藏 956KB GZ 举报
温馨提示
Python库是一组预先编写的代码模块,旨在帮助开发者实现特定的编程任务,无需从零开始编写代码。这些库可以包括各种功能,如数学运算、文件操作、数据分析和网络编程等。Python社区提供了大量的第三方库,如NumPy、Pandas和Requests,极大地丰富了Python的应用领域,从数据科学到Web开发。Python库的丰富性是Python成为最受欢迎的编程语言之一的关键原因之一。这些库不仅为初学者提供了快速入门的途径,而且为经验丰富的开发者提供了强大的工具,以高效率、高质量地完成复杂任务。例如,Matplotlib和Seaborn库在数据可视化领域内非常受欢迎,它们提供了广泛的工具和技术,可以创建高度定制化的图表和图形,帮助数据科学家和分析师在数据探索和结果展示中更有效地传达信息。
资源推荐
资源详情
资源评论
收起资源包目录
h5py-2.2.1.tar.gz (132个子文件)
defs.c 3.2MB
h5t.c 941KB
h5p.c 554KB
h5a.c 310KB
h5g.c 301KB
h5o.c 293KB
h5s.c 284KB
h5f.c 282KB
h5d.c 254KB
_objects.c 250KB
_conv.c 225KB
h5l.c 224KB
h5.c 209KB
h5ac.c 199KB
h5ds.c 171KB
_proxy.c 167KB
h5r.c 158KB
utils.c 155KB
h5i.c 141KB
_errors.c 139KB
h5z.c 93KB
h5fd.c 82KB
lzf_c.c 9KB
lzf_filter.c 7KB
lzf_d.c 4KB
example.c 3KB
stdint.h 7KB
lzfP.h 5KB
lzf.h 4KB
api_compat.h 1KB
lzf_filter.h 874B
unistd.h 0B
MANIFEST.in 319B
PKG-INFO 2KB
defs.pxd 26KB
_hdf5.pxd 25KB
api_types_hdf5.pxd 24KB
_errors.pxd 10KB
numpy.pxd 3KB
h5fd.pxd 3KB
api_types_ext.pxd 2KB
h5p.pxd 2KB
h5t.pxd 1KB
utils.pxd 857B
_objects.pxd 645B
h5r.pxd 631B
h5.pxd 580B
_proxy.pxd 511B
h5g.pxd 386B
h5f.pxd 385B
h5d.pxd 377B
h5s.pxd 368B
h5i.pxd 365B
h5a.pxd 360B
h5ac.pxd 355B
h5l.pxd 332B
_conv.pxd 292B
h5z.pxd 289B
h5o.pxd 289B
h5ds.pxd 288B
_locks.pxi 4KB
config.pxi 128B
test_dataset.py 29KB
test_group.py 27KB
dataset.py 22KB
selections.py 20KB
group.py 17KB
test_file.py 15KB
threading_example.py 11KB
filters.py 10KB
test_slicing.py 10KB
setup.py 9KB
base.py 9KB
files.py 8KB
test_dimension_scales.py 7KB
test_attrs_data.py 7KB
api_gen.py 6KB
attrs.py 6KB
configure.py 5KB
test_attrs.py 4KB
ipy_completer.py 4KB
dims.py 4KB
multiprocessing_example.py 4KB
common.py 3KB
test_selections.py 3KB
selections2.py 3KB
test_h5p.py 3KB
test_h5f.py 2KB
__init__.py 2KB
test_base.py 2KB
datatype.py 1KB
test_h5.py 1KB
test_datatype.py 1KB
version.py 1KB
test_h5t.py 1KB
test_objects.py 964B
highlevel.py 527B
__init__.py 267B
__init__.py 267B
__init__.py 267B
共 132 条
- 1
- 2
资源评论
程序员Chino的日记
- 粉丝: 3654
- 资源: 5万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 计算机毕业设计:python+爬虫+cnki网站爬
- nyakumi-lewd-snack-3-4k_720p.7z.002
- 现在微信小程序能用的mqtt.min.js
- 基于MPC的非线性摆锤系统轨迹跟踪控制matlab仿真,包括程序中文注释,仿真操作步骤
- shell脚本入门-变量、字符串, Shell脚本中变量与字符串的基础操作教程
- 基于MATLAB的ITS信道模型数值模拟仿真,包括程序中文注释,仿真操作步骤
- 基于Java、JavaScript、CSS的电子产品商城设计与实现源码
- 基于Vue 2的zjc项目设计源码,适用于赶项目需求
- 基于跨语言统一的C++头文件设计源码开发方案
- 基于MindSpore 1.3的T-GCNTemporal Graph Convolutional Network设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功