load accumulated density file in python

https://www.dacm-logiciels.fr/tracewin
Post Reply
BelgiumLennert.dk
Novice
Novice
Posts: 2
Joined: Mon 11 Jul 2022 16:19
Country:
Belgium (be)
Belgium

load accumulated density file in python

Post by BelgiumLennert.dk »

Hi Didier,

I would like to read-in the available data from the Density_xxx.dat-file, without the need for saving each generated graph in ASCII.
What kind of convertor did you use to create this binary file? And do you have any tools for loading it, as is, into a python code?

Thanks in advance.

Lennert
FranceNicolasChauvin
Global moderators
Global moderators
Posts: 8
Joined: Fri 2 Sep 2022 11:39
Country:
France (fr)
France

Re: load accumulated density file in python

Post by FranceNicolasChauvin »

Dear Lennert,


May I suggest to have a look at TraceWin documentation, in the section "Files", there is a subsection "Density file (*.dat)" where you can find a C function that reads all the data contained in the density file.

Regards,

Nicolas.
Post Reply