hdf5 data format #254
Answered
by
LubomirJagos42
MedericQUT
asked this question in
Q&A Usage
-
Hi All, If a read a hdf5 file like: Then field has 4 dimension x,y,z,K. I know x,y,z correspond to the dimensions of the dump box. But what is the 4th dimension K? why is the size of K always 3? Kind regards |
Beta Was this translation helpful? Give feedback.
Answered by
LubomirJagos42
Nov 18, 2024
Replies: 1 comment 2 replies
-
Hi, this is just random simulation which I set to log .h5 file at frequency domain and open it in Octave: [portEtField portEtMesh] = ReadHDF5Dump(['simulation_output' '/electric field HDF5_electric field port.h5']); K is E-field complex value Ex, Ey, Ez |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
MedericQUT
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, this is just random simulation which I set to log .h5 file at frequency domain and open it in Octave:
K is E-field complex value Ex, Ey, Ez
E_complex = sqrt(Ex^2 + Ey^2 + Ez^2)
E_magnitude = abs(E_complex)
https://docs.octave.org/v4.4.0/Complex-Arithmetic.html