D3DEnergetic / FIDASIM

A Neutral Beam and Fast-ion Diagnostic Modeling Suite
http://d3denergetic.github.io/FIDASIM/
Other
29 stars 19 forks source link

The wrong type "float" of “nx,ny,nz” #224

Closed struggleSD closed 3 years ago

struggleSD commented 3 years ago

Dear FIDASIM team,

I'm using the FIDASIM-2.0.0, when using the prefida for inputs through python, I set the beam grid as defult "basic_bgrid = fs.utils.beam_grid(nbi,250.0)", but the error happened: ""nx"has the weong type of " I don't know why this happen, but in the python script I changed the type: "basic_bgrid['nx'] = int(basic_bgrid['nx']) basic_bgrid['ny'] = int(basic_bgrid['ny']) basic_bgrid['nz'] = int(basic_bgrid['nz'])" This worked, but spectra and weight function changed, the intensity of FIDA, BES, and halo became stronger except for bremsstrahlung. Is this a bug or my setting si wrong?

Thanks in advance for your response! 1 image

lstagner commented 3 years ago

Well that shouldn't happen. Could you send me the inputs.dat files(these files contain the beam grid settings) for each run you showed above.