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

(Created page with "Data exported to the HDF5 format can be imported into other applications. = Exported HDF5 file = The exported file is an HDF5 file. More information about this format can b...") |
|||

Line 19: | Line 19: | ||

==Matlab== | ==Matlab== | ||

Matlab can import the data. This can be done by the following command: | Matlab can import the data. This can be done by the following command: | ||

− | ''<code>h5read(filename,datasetname)</code>'' where file name is the hdf5 file name and the datasetname is the data set name, eg ''<code>/frame/4/100</code>'' or ''<code>/receiver/6</code>''. | + | ''<code>h5read(filename,datasetname)</code>'' where file name is the hdf5 file name and the datasetname is the data set name, eg ''<code>/frame/4/100</code>'' or ''<code>/receiver/6</code>''. For more info see [http://mathworks.com/help/matlab/hdf5-files.html|Matlab hdf5 reference pages] |

+ | |||

+ | ==Mathematica== | ||

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

## Revision as of 15: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 reference pages.