golosio / xrmc

17 stars 10 forks source link

XRMC XMI-MSIM plug in detectorconvolute Ascii Flag not working #50

Closed edboj closed 3 years ago

edboj commented 3 years ago

Greetings,

When using the AsciiFlag on detectorconvolute that inherits detectorarray, an syntax error occur indicating that the flag does not work. I wish to save the results as ASCII to see the simulated spectrum. Is there another way to do this without using the AsciiFlag? Newdevice detectorconvolute ; Device type Detector ; Device name ... AsciiFlag 1 ; Use Ascii format in output file (0/1)

Thanks!

tschoonj commented 3 years ago

Hi @edboj !

That flag is indeed not supported.

Instead, I recommend you install the python part of the xrmc-utils, which should make visualising the binary outputfiles easy, and also allow you to convert them to csv.

Hope this helps!

edboj commented 3 years ago

Hello @tschoonj ,

The xrmc-utils worked perfectly, it helped me a lot.

Thank you very much for the quick support!

tschoonj commented 3 years ago

You're welcome. Let us know if you have any more questions.