pyUSID.io.anc_build_utils

Utilities that assist in building ancillary USID datasets manually. Formerly known as “write_utils”

Created on Thu Sep 7 21:14:25 2017

@author: Suhas Somnath, Chris Smith

Functions

build_ind_val_matrices(unit_values[, ...])

Builds indices and values matrices using given unit values for each dimension.

calc_chunks(dimensions, dtype_byte_size[, ...])

Calculate the chunk size for the HDF5 dataset based on the dimensions and the maximum chunk size in memory

create_spec_inds_from_vals(ds_spec_val_mat)

Create new Spectroscopic Indices table from the changes in the Spectroscopic Values

get_aux_dset_slicing(dim_names[, last_ind, ...])

Returns a dictionary of slice objects to help in creating region references in the position or spectroscopic indices and values datasets

make_indices_matrix(num_steps[, is_position])

Makes an ancillary indices matrix given the number of steps in each dimension.