Time step (or sampling frequency) of the field dumps

How to use openEMS. Discussion on examples, tutorials etc

Moderator: thorsten

Post Reply
manu2020
Posts: 2
Joined: Tue 01 Sep 2020, 14:33

Time step (or sampling frequency) of the field dumps

Post by manu2020 » Tue 01 Sep 2020, 14:38

Hello everyone,

does anyone know if there is a way to get the exact value of the sampling frequency of the
time domain field dumps?
I understand that the simulation itself runs at a much higher sampling rate
than the stored field dumps, but I cannot find the values in any variables.

Best regards,

Manuel

thorsten
Posts: 1437
Joined: Mon 27 Jun 2011, 12:26

Re: Time step (or sampling frequency) of the field dumps

Post by thorsten » Tue 01 Sep 2020, 21:42

I assume you mean the hdf5 field dumps? The openEMS read functions contain a TD signal with the exact timesteps that were saved.
This is of course very important if you want to transform from TD to FD.
Have a close look here: https://github.com/thliebig/openEMS/blo ... dData.m#L6

As for the vtk dumps. The timestep is included in the filename.

hope that helps, br
Thorsten

manu2020
Posts: 2
Joined: Tue 01 Sep 2020, 14:33

Re: Time step (or sampling frequency) of the field dumps

Post by manu2020 » Mon 01 Mar 2021, 17:45

That is what I was looking for.
Thanks! (and sorry for my delayed reply)

BR

Post Reply