/dports/science/py-h5py/h5py-3.6.0/docs/whatsnew/ |
H A D | 2.7.rst | 1 What's new in h5py 2.7 45 .. _`#662` : https://github.com/h5py/h5py/pull/662 46 .. _`#664` : https://github.com/h5py/h5py/pull/664 47 .. _`#675` : https://github.com/h5py/h5py/pull/675 48 .. _`#680` : https://github.com/h5py/h5py/pull/680 49 .. _`#683` : https://github.com/h5py/h5py/pull/683 50 .. _`#686` : https://github.com/h5py/h5py/pull/686 51 .. _`#691` : https://github.com/h5py/h5py/pull/691 52 .. _`#692` : https://github.com/h5py/h5py/pull/692 53 .. _`#693` : https://github.com/h5py/h5py/pull/693 [all …]
|
H A D | 2.6.rst | 1 What's new in h5py 2.6 59 .. _`#561` : https://github.com/h5py/h5py/pull/561 60 .. _`#562` : https://github.com/h5py/h5py/pull/562 61 .. _`#563` : https://github.com/h5py/h5py/pull/563 62 .. _`#572` : https://github.com/h5py/h5py/pull/572 63 .. _`#574` : https://github.com/h5py/h5py/pull/574 64 .. _`#576` : https://github.com/h5py/h5py/pull/576 65 .. _`#578` : https://github.com/h5py/h5py/pull/578 66 .. _`#579` : https://github.com/h5py/h5py/pull/579 67 .. _`#583` : https://github.com/h5py/h5py/pull/583 [all …]
|
H A D | 2.5.rst | 47 .. _`#551` : https://github.com/h5py/h5py/pull/551 48 .. _`#541` : https://github.com/h5py/h5py/pull/541 49 .. _`#505` : https://github.com/h5py/h5py/pull/505 50 .. _`#513` : https://github.com/h5py/h5py/pull/513 51 .. _`#555` : https://github.com/h5py/h5py/pull/555 52 .. _`#560` : https://github.com/h5py/h5py/pull/560 53 .. _`#508` : https://github.com/h5py/h5py/pull/508 54 .. _`#507` : https://github.com/h5py/h5py/pull/507 55 .. _`#558` : https://github.com/h5py/h5py/pull/558 56 .. _`#546` : https://github.com/h5py/h5py/pull/546 [all …]
|
H A D | 3.6.rst | 1 What's new in h5py 3.6 14 (``data = dset.astype(t)[:10]``). This works from h5py 3.0 onwards. 15 * Getting the value of ``h5py.get_config().default_file_mode`` now issues a 16 deprecation warning. This has been ``'r'`` by default from h5py 3.0, and 19 Building h5py 22 * h5py now requires the ``oldest-supported-numpy`` package at build time, 31 development (see :ref:`contrib-run-tests`), and ``pytest --pyargs h5py`` can 32 be used to test h5py after installation.
|
/dports/science/py-h5py/h5py-3.6.0/h5py/tests/ |
H A D | test_filters.py | 16 import h5py 27 self.f = h5py.File(self.path, 'w') 29 @ut.skipUnless(h5py.h5z.filter_avail(h5py.h5z.FILTER_SZIP), 'szip filter required') 68 gzip8 = h5py.filters.Gzip(level=8) 84 gzip8 = h5py.filters.Gzip(level=8) 93 if h5py.h5z.filter_avail(h5py.h5z.FILTER_LZF): 94 res = h5py.h5z.unregister_filter(h5py.h5z.FILTER_LZF) 100 assert 'gzip' in h5py.filters.decode 101 assert 'gzip' in h5py.filters.encode 102 assert 'lzf' in h5py.filters.decode [all …]
|
H A D | test_file2.py | 14 import h5py 15 from h5py._hl.files import _drivers 25 return h5py.h5f.get_obj_count(h5py.h5f.OBJ_ALL, h5py.h5f.OBJ_FILE) 28 return h5py.h5f.get_obj_count(h5py.h5f.OBJ_ALL, h5py.h5f.OBJ_GROUP) 46 f = h5py.File(fname, 'w') 112 f = h5py.File(fname, 'w') 138 f = h5py.File(fileobj, 'w') 147 f = h5py.File(fileobj, 'r') 178 f = h5py.File(fileobj, 'w') 219 f = h5py.File(bio, 'w') [all …]
|
H A D | test_dtype.py | 8 import h5py 44 vidt = h5py.vlen_dtype(np.uint8) 91 vidt = h5py.vlen_dtype(np.uint8) 114 dt1 = h5py.vlen_dtype(h5py.enum_dtype(dict(foo=1, bar=2), 'i')) 116 with h5py.File(fname, 'w') as f: 120 with h5py.File(fname, 'r') as f: 126 self.assertEqual(h5py.check_enum_dtype(h5py.check_vlen_dtype(dt1)), 127 h5py.check_enum_dtype(h5py.check_vlen_dtype(dt2))) 189 ht = h5py.h5t.py_create(dt) 320 dt = h5py.string_dtype() [all …]
|
H A D | test_h5t.py | 12 import h5py 13 from h5py import h5t 27 dt = np.dtype([('a', h5py.ref_dtype), ('b', '<f4')]) 102 fid = h5py.h5f.create(test_filename) 104 space = h5py.h5s.create_simple(dims) 114 dset.write(h5py.h5s.ALL, h5py.h5s.ALL, wdata) 126 dset.write(h5py.h5s.ALL, h5py.h5s.ALL, wdata2) 138 dset.write(h5py.h5s.ALL, h5py.h5s.ALL, wdata2) 150 dset.write(h5py.h5s.ALL, h5py.h5s.ALL, wdata2) 156 dset.write(h5py.h5s.ALL, h5py.h5s.ALL, wdata2) [all …]
|
H A D | test_dimension_scales.py | 15 from h5py import File, Group, Dataset 16 import h5py 36 h5py.h5ds.set_scale(self.f['x1'].id) 39 h5py.h5ds.set_scale(self.f['x2'].id, b'x2 name') 42 h5py.h5ds.set_scale(self.f['y1'].id, b'y1 name') 46 h5py.h5ds.set_label(self.f['data'].id, 0, b'z') 47 h5py.h5ds.set_label(self.f['data'].id, 2, b'x') 62 self.assertTrue(h5py.h5ds.is_scale(self.f['x1'].id)) 89 h5py.version.hdf5_version_tuple > (2, 0, 0), 99 res = h5py.h5ds.get_scale_name(dsid) [all …]
|
H A D | test_h5d_direct_chunk.py | 1 import h5py 8 @ut.skipUnless(h5py.version.hdf5_version_tuple >= (1, 8, 11), 'Direct Chunk Writing requires HDF5 >… 13 with h5py.File(filename, "w") as filehandle: 29 with h5py.File(filename, "r") as filehandle: 35 @ut.skipUnless(h5py.version.hdf5_version_tuple >= (1, 10, 2), 'Direct Chunk Reading requires HDF5 >… 36 @ut.skipIf('gzip' not in h5py.filters.encode, "DEFLATE is not installed") 41 with h5py.File(filename, "w") as filehandle: 67 with h5py.File(filename, "w") as filehandle: 80 with h5py.File(filename, "r") as filehandle: 91 with h5py.File(filename, "w") as filehandle: [all …]
|
H A D | test_file_image.py | 1 import h5py 2 from h5py import h5f, h5p 6 @ut.skipUnless(h5py.version.hdf5_version_tuple >= (1, 8, 9), 'file image operations require HDF5 >=… 16 fapl = h5p.create(h5py.h5p.FILE_ACCESS) 20 fid = h5f.open(self.mktemp().encode(), h5py.h5f.ACC_RDONLY, fapl=fapl) 21 f = h5py.File(fid) 34 f = h5py.File(fid)
|
H A D | test_dataset.py | 28 from h5py import File, Group, Dataset 30 from h5py import h5f, h5t 32 import h5py 33 import h5py._hl.selections as sel 1065 dt = h5py.string_dtype() 1132 dt = h5py.string_dtype() 1198 dt = h5py.string_dtype() 1438 sid = h5py.h5s.create(h5py.h5s.SCALAR) 1442 ref = h5py.h5r.create(ds.id, b'.', h5py.h5r.DATASET_REGION, sid) 1447 ref = h5py.h5r.create(ds.id, b'.', h5py.h5r.DATASET_REGION, sid) [all …]
|
/dports/science/py-h5py/h5py-3.6.0/ |
H A D | README.rst | 1 .. image:: https://travis-ci.org/h5py/h5py.png 2 :target: https://travis-ci.org/h5py/h5py 4 :target: https://ci.appveyor.com/project/h5py/h5py/branch/master 5 .. image:: https://dev.azure.com/h5pyappveyor/h5py/_apis/build/status/h5py.h5py?branchName=master 16 * Main website: https://www.h5py.org 17 * Source code: https://github.com/h5py/h5py 18 * Mailing list: https://groups.google.com/d/forum/h5py 30 MPI support, can be found at: https://docs.h5py.org/en/latest/build.html. 36 Open a bug at https://github.com/h5py/h5py/issues. For general questions, ask 37 on the HDF forum (https://forum.hdfgroup.org/c/hdf-tools/h5py). [all …]
|
/dports/devel/py-distributed/distributed-2021.11.2/distributed/protocol/ |
H A D | h5py.py | 1 import h5py 6 @dask_serialize.register(h5py.File) 13 @dask_deserialize.register(h5py.File) 15 import h5py 17 return h5py.File(header["filename"], mode="r") 20 @dask_serialize.register((h5py.Group, h5py.Dataset)) 27 @dask_deserialize.register((h5py.Group, h5py.Dataset))
|
/dports/science/py-h5py/h5py-3.6.0/docs/ |
H A D | build.rst | 19 import h5py 20 h5py.run_tests() 43 $ enpkg h5py 54 $ pip install h5py 96 $ pip install --no-binary=h5py h5py 115 h5py git repository. 188 $ pip install --no-binary=h5py h5py 196 $ HDF5_DIR=/path/to/hdf5 pip install --no-binary=h5py h5py 197 $ HDF5_VERSION=X.Y.Z pip install --no-binary=h5py h5py 229 $ pip install --no-binary=h5py h5py [all …]
|
H A D | vds.rst | 1 .. currentmodule:: h5py 7 Starting with version 2.9, h5py includes high-level support for HDF5 36 Creating virtual datasets in h5py 39 To make a virtual dataset using h5py, you need to: 62 with h5py.File("VDS.h5", 'w', libver='latest') as f: 86 - `vds_simple.py <https://github.com/h5py/h5py/blob/master/examples/vds_simple.py>`_ 89 - `dataset_concatenation.py <https://github.com/h5py/h5py/blob/master/examples/dataset_concatenatio… 94 …- `excalibur_detector_modules.py <https://github.com/h5py/h5py/blob/master/examples/excalibur_dete… 95 - `dual_pco_edge.py <https://github.com/h5py/h5py/blob/master/examples/dual_pco_edge.py>`_ 96 - `eiger_use_case.py <https://github.com/h5py/h5py/blob/master/examples/eiger_use_case.py>`_ [all …]
|
/dports/science/py-h5py/h5py-3.6.0/examples/ |
H A D | percival_use_case.py | 5 import h5py 8 dtype = h5py.File('raw_file_1.h5')['data'].dtype 12 layout = h5py.VirtualLayout(shape=outshape, dtype=dtype) 15 vsource1 = h5py.VirtualSource('raw_file_1.h5', 'data', shape=(200, 2000, 2000)) 16 vsource2 = h5py.VirtualSource('raw_file_2.h5', 'data', shape=(200, 2000, 2000)) 17 vsource3 = h5py.VirtualSource('raw_file_3.h5', 'data', shape=(200, 2000, 2000)) 18 vsource4 = h5py.VirtualSource('raw_file_4.h5', 'data', shape=(199, 2000, 2000)) 27 with h5py.File('full_time_series.h5', 'w', libver='latest') as f:
|
H A D | dual_pco_edge.py | 6 import h5py 8 with h5py.File('raw_file_1.h5', 'r') as f: 15 vsource1 = h5py.VirtualSource('raw_file_1.h5', 'data', shape=in_sh) 16 vsource2 = h5py.VirtualSource('raw_file_2.h5', 'data', shape=in_sh) 18 layout = h5py.VirtualLayout((in_sh[0], 2 * in_sh[1] + gap, in_sh[3]), 24 with h5py.File('outfile.h5', 'w', libver='latest') as f:
|
H A D | vds_simple.py | 8 import h5py 16 with h5py.File(f"{n}.h5", "w") as f: 20 layout = h5py.VirtualLayout(shape=(4, 100), dtype="i4") 23 vsource = h5py.VirtualSource(filename, "data", shape=(100,)) 27 with h5py.File("VDS.h5", "w", libver="latest") as f: 34 with h5py.File("VDS.h5", "r") as f:
|
/dports/science/py-h5py/h5py-3.6.0/docs/high/ |
H A D | lowlevel.rst | 4 This documentation mostly describes the h5py high-level API, which offers the 6 h5py also provides a low-level API, which more closely follows the HDF5 C API. 10 - `h5py Low-Level API Reference <https://api.h5py.org/>`_ 17 corresponding low-level objects—:class:`~low:h5py.h5f.FileID`, 18 :class:`~low:h5py.h5g.GroupID` and :class:`~low:h5py.h5d.DatasetID`:: 25 :class:`~low:h5py.h5a.AttrID` object:: 30 - **To the high-level**: Low-level :class:`~low:h5py.h5f.FileID`, 31 :class:`~low:h5py.h5g.GroupID` and :class:`~low:h5py.h5d.DatasetID` objects
|
/dports/archivers/vbz-compression/vbz_compression-1.0.1/python/test/ |
H A D | test_vbz_filter.py | 1 import h5py 15 with h5py.File("test_file.h5", "w") as f: 18 with h5py.File("test_file.h5", "r") as f: 22 zip_file = h5py.File(os.path.join(TEST_DATA, "multi_fast5_zip.fast5")) 30 with h5py.File("test_file.h5", "w") as f: 33 with h5py.File("test_file.h5", "r") as f: 45 h5py.File(os.path.join(TEST_DATA, "multi_fast5_zip.fast5")), 46 h5py.File(os.path.join(TEST_DATA, "multi_fast5_vbz.fast5")), 47 h5py.File(os.path.join(TEST_DATA, "multi_fast5_vbz_v1.fast5")),
|
/dports/astro/py-astropy/astropy-5.0/astropy/io/misc/ |
H A D | hdf5.py | 32 import h5py 55 import h5py 59 return isinstance(args[0], (h5py.File, h5py.Group, h5py.Dataset)) 85 import h5py 95 if isinstance(input, (h5py.File, h5py.Group)): 110 if isinstance(input, h5py.Group): 126 elif not isinstance(input, h5py.Dataset): 140 f = h5py.File(input, 'r') 247 import h5py 262 if isinstance(output, (h5py.File, h5py.Group)): [all …]
|
/dports/math/py-yt/yt-4.0.1/.github/workflows/ |
H A D | rules-checks.yaml | 2 # as errors in all CI jobs covering h5py. 8 h5py-bad-practices: 12 - name: check-h5py-import 13 # check that we don't alias h5py to h5 18 grep -r -n "import _h5py as h5" yt | grep -v "import _h5py as h5py" | cat > h5-imports.log 20 echo "Please do not import h5py as h5. Here are the faulty lines." 25 - name: check-h5py-filemode 27 # check that a mode argument is always present in calls to h5py.File() 30 grep -E -r -n "h5py\.File\([^,]+\)" yt | cat > h5-mode.log 32 echo "h5py.File() should never be called without an explicit mode argument."
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/python/mxnet/io/ |
H A D | utils.py | 23 import h5py 25 h5py = None variable 38 if isinstance(data, (np.ndarray, NDArray, h5py.Dataset) 39 if h5py else (np.ndarray, NDArray)): 53 if not isinstance(v, (NDArray, h5py.Dataset) if h5py else NDArray): 79 if (isinstance(v, h5py.Dataset) if h5py else False):
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/python/mxnet/io/ |
H A D | utils.py | 23 import h5py 25 h5py = None variable 38 if isinstance(data, (np.ndarray, NDArray, h5py.Dataset) 39 if h5py else (np.ndarray, NDArray)): 53 if not isinstance(v, (NDArray, h5py.Dataset) if h5py else NDArray): 79 if (isinstance(v, h5py.Dataset) if h5py else False):
|