carputils
Doxygen code documentation for the python framework controlling openCARP
|
Create a HDF5 repository file for the ionic models in LIMPET. More...
Classes | |
class | FileDescription |
Class to hold the information about each of the binary output files generated by LIMPET/bench which contain information about the sv. More... | |
Functions | |
def | parser () |
def | cpu_time () |
def | read_sv_dump (filename, is_bigendian, type, dsize, numSamps) |
Read state variables from binary file. More... | |
def | read_sv_dump_header (filename) |
Reads header provided by LIMPET/bench and extracts information about the binary files to read and create the HDF5 repository. More... | |
def | read_sv_dumps (flst) |
def | openCARP_dtype (carp_dtype, carp_dsize) |
Determine openCARP data type. More... | |
def | createTblDesc (fileList) |
Create and return an instance of Description class which will be used to describe the structure of the table for the hdf5 file. More... | |
def | dump2hdf5 (headerFile, h5File, whitelist=None) |
Function to create a repository based on a header created with LIMPET/bench. More... | |
def | main () |
Variables | |
string | epilog |
xrange = range | |
Create a HDF5 repository file for the ionic models in LIMPET.
def bin.bin2h5.cpu_time | ( | ) |
def bin.bin2h5.createTblDesc | ( | fileList | ) |
Create and return an instance of Description class which will be used to describe the structure of the table for the hdf5 file.
def bin.bin2h5.dump2hdf5 | ( | headerFile, | |
h5File, | |||
whitelist = None |
|||
) |
Function to create a repository based on a header created with LIMPET/bench.
def bin.bin2h5.main | ( | ) |
def bin.bin2h5.openCARP_dtype | ( | carp_dtype, | |
carp_dsize | |||
) |
Determine openCARP data type.
carp_dtype | string of openCARP/LIMPET data type. |
carp_dsize | number of bytes of data type. |
def bin.bin2h5.parser | ( | ) |
def bin.bin2h5.read_sv_dump | ( | filename, | |
is_bigendian, | |||
type, | |||
dsize, | |||
numSamps | |||
) |
Read state variables from binary file.
filename | the name of the binary file to read. |
is_bigendian | true for big endian byte order. |
type | openCARP data type -> float or double. |
dsize | number of bytes of data type. |
numSamps | number of samples. |
def bin.bin2h5.read_sv_dump_header | ( | filename | ) |
Reads header provided by LIMPET/bench and extracts information about the binary files to read and create the HDF5 repository.
filename | the name of the header file to read. |
def bin.bin2h5.read_sv_dumps | ( | flst | ) |
string bin.bin2h5.epilog |
bin.bin2h5.xrange = range |