nnmt.input_output.save_quantity_dict_to_h5

nnmt.input_output.save_quantity_dict_to_h5(file, qdict)[source]

Convert and save dict of quantities to h5 file.

The quantity dictionary is first converted to a val unit dictionary and then saved to an h5 file.

Parameters:
filestr

String specifying output file name.

qdictdict

Dictionary containing quantities.