pynbody.snapshot.soap.SOAPMultiFileManager#
- class pynbody.snapshot.soap.SOAPMultiFileManager(filename, mode='r', **kwargs)[source]#
Bases:
SwiftMultiFileManagerMethods
get_take_parameter(families_ordered, ...)Return the array of particle indexes to read
read(requests)Read requests (see
pynbody.util.hdf_bulk_read.ReadRequest) of datasets in these files.get_file0_root
get_header_attrs
get_parameter_attrs
get_unit_attrs
is_virtual
iter_particle_groups_with_name
iterroot
max_buf
reopen_in_mode
- get_take_parameter(families_ordered, family_to_group_map)#
Return the array of particle indexes to read
- only_one_file_of_a_set = False#
True if we have been pointed at a single file which declares itself to be one of a multi-file set
- read(requests) ReadStrategy#
Read requests (see
pynbody.util.hdf_bulk_read.ReadRequest) of datasets in these files.Where it is safe, the data are read directly rather than through h5py, which serialises all reads, and perhaps in several threads; see
pynbody.util.hdf_bulk_read.BulkReader.read().