Page 1 of 1

load accumulated density file in python

Posted: Wed 14 Dec 2022 20:08
by Lennert.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

Re: load accumulated density file in python

Posted: Thu 15 Dec 2022 14:39
by NicolasChauvin
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.