# Difference between revisions of "Import resulting data into other applications"

(→Mathematica) |
|||

Line 22: | Line 22: | ||

==Mathematica== | ==Mathematica== | ||

− | More information about import in mathematica can be found at [https://reference.wolfram.com/language/ref/format/HDF5.html | + | More information about import in mathematica can be found at [https://reference.wolfram.com/language/ref/format/HDF5.html Mathematica hdf5 reference pages]. |

## Revision as of 14:53, 28 April 2016

Data exported to the HDF5 format can be imported into other applications.

## Contents |

# Exported HDF5 file

The exported file is an HDF5 file. More information about this format can be found [1].

The structure of the HDF5 format is a tree-like structure with data elements as leaves, which are called data sets. This structure is as follows:

`frame`

- <domain index>
- <frame index>

- <domain index>
`receiver`

- <receiver index>

For example if you want frame 100 of domain 4, the data element is at * /frame/4/100*. Or if you want the data of receiver 6, then the resulting data is in element

*.*

`/receiver/6`

# Applications

Here is a list of some of the applications that can import this data.

## Matlab

Matlab can import the data. This can be done by the following command:
* h5read(filename,datasetname)* where file name is the hdf5 file name and the datasetname is the data set name, eg

*or*

`/frame/4/100`

*. For more info see hdf5 reference pages*

`/receiver/6`

## Mathematica

More information about import in mathematica can be found at Mathematica hdf5 reference pages.