Skip to content

Commit a3066a7

Browse files
committed
Tweak format
1 parent 9b5a6e1 commit a3066a7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/source/streaming.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,13 @@ The filename is changed to quadEM_HDF5_ROI_001.h5. The resulting file size is 1
111111
The following is an IDL program to process the data in quadEM_HDF5_001.h5.
112112
The program does the following:
113113

114-
- Reads the dataset /entry/data/data into a variable called `data`.
115-
- Displays information about 'data'.
116-
- Reformats 'data' from a 3-D array with dimensions [11, 2000, 200] to a 2-D array with dimensions [11, 400000].
117-
- Extracts the SumAll data into a variable called 'sum_all', which the 6'th column of 'data'.
118-
- Compute a 'time' array variable which is the time of each sample. It is 400000 points with 50 microseconds per point.
119-
- Plots the first 0.5 seconds (1000 points) of 'sum_all' vs 'time'.
120-
- Computes the absolute value of the FFT of the 'sum_all' variable, which is the power spectrum.
114+
- Reads the dataset /entry/data/data into a variable called ``data``.
115+
- Displays information about ``data``.
116+
- Reformats ``data`` from a 3-D array with dimensions [11, 2000, 200] to a 2-D array with dimensions [11, 400000].
117+
- Extracts the SumAll data into a variable called ``sum_all``, which the 6'th column of ``data``.
118+
- Compute a ``time`` array variable which is the time of each sample. It is 400000 points with 50 microseconds per point.
119+
- Plots the first 0.5 seconds (1000 points) of ``sum_all`` vs ``time``.
120+
- Computes the absolute value of the FFT of the ``sum_all`` variable, which is the power spectrum.
121121
- Sets the first element (0 frequency, i.e. DC offset) to 0.
122122
- Computes the frequency acis, which is 200000 points going from 0 to the Nyquist freqency of 10 kHz.
123123
- Plots the power spectrum vs frequency. Plots only the first 20000 points, which is 0 to 1 kHz, on a vertical log scale.

0 commit comments

Comments
 (0)