Open adudzik opened 5 years ago
@adudzik is this happen always or only for big data? Default memory size is about 2GB.
This problem is for materials higher than Copper from: https://github.com/libamtrack/web/blob/master/src/static/json/dictionaries/Materials.json function that i tested: https://libamtrack.github.io/web/#DataRange/CSDARangeSingle
@grzanka is this function in C works for materials like Lead?
This may be helpful: https://github.com/libamtrack/library/blob/master/src/AT_StoppingPowerDataPSTAR.c#L1262
Currently PSTAR data is limited only to 10 materials. It would be good to submit now the ticket to the core library, in order to expand the PSTAR data to other materials.
There may be some issues that libamtrack is not passing correctly error codes when material is not found - make an issue on that in the core library.
For
CSDA Range
when we choose particles and materials from end of the list, application has problem with memory. @marwin1991, probably we should compile library with flag allowing to expand memory size in runtime?This problem is related with #76.