Debian Codegraph @

opcodes/hdf5read.xml

raw symbols SCIP
1
2 <refentry id="hdf5read">
3 <indexterm id="IndexHdf5read"><primary>hdf5read</primary></indexterm>
4 <refentryinfo><title>Signal I/O:File I/O</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>hdf5read</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>hdf5read</refname>
11 <refpurpose>
12 Read signals and arrays from an hdf5 file.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>Plugin opcode in hdf5ops. This opcode is part of the plugin repository and has to be installed separately.
19 The plugin repository can be found here: <ulink url="https://github.com/csound/plugins"><citetitle>https://github.com/csound/plugins</citetitle></ulink></para>
20 <para>
21 <emphasis>hdf5read</emphasis> reads <emphasis>N</emphasis> signals and arrays from a specified hdf5 file.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>xout1[, xout2, xout3, ..., xoutN] <command>hdf5read</command> ifilename, ivariablename1[, ivariablename2, ivariablename3, ..., ivariablenameN]</synopsis>
28
29 </refsect1>
30
31 <refsect1>
32 <title>Initialization</title>
33 <para>
34 <emphasis>ifilename</emphasis> -- the hdf5 file's name (in double-quotes).
35 </para>
36 <para>
37 <emphasis>ivariablename1[, ivariablename2, ivariablename3, ..., ivariablenameN]</emphasis> -- the names of the datasets (in double-quotes) to be read from the hdf5 file, if the dataset name is suffixed with an asterisk, e.g. "mydataset*", the entire dataset is copied to the array regardless of array type.
38 </para>
39 </refsect1>
40 <refsect1>
41 <title>Performance</title>
42 <para>
43 <emphasis>xout1,... xoutN</emphasis> -- The specified types of variables that the hdf5 datasets are to be read as. Datasets with a rank larger than 1 must be read as arrays, i-rate signals must also be read as i-rate signals. Other than these restrictions datasets may be read as any type of array or signal. When reading has reached the end of a dataset it no longer outputs any new values.
44 </para>
45 </refsect1>
46
47 <refsect1>
48 <title>Examples</title>
49 <para>
50 Here is a simple example of the hdf5read opcode. It uses the file <ulink url="examples/hdf5read.csd"><citetitle>hdf5read.csd</citetitle></ulink>.
51
52 <example>
53 <title>Example of the hdf5read opcode.</title>
54
55 <para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para>
56 <xi:include href="examples-xml/hdf5read.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
57 </example>
58 </para>
59
60 </refsect1>
61
62 <refsect1>
63 <title>See also</title>
64 <para><link linkend="SigioInput"><citetitle>Signal Input</citetitle></link></para>
65 </refsect1>
66
67 <refsect1>
68 <title>Credits</title>
69 <para>
70 <simplelist>
71 <member>Author: Edward Costello;</member>
72 <member>NUIM, 2014</member>
73 </simplelist>
74 </para>
75 </refsect1>
76 </refentry>