luca-fiorito-11 / sandy

Sampling nuclear data and uncertainty
MIT License
47 stars 29 forks source link

Apply samples to doppler-broadened cross sections #300

Closed luca-fiorito-11 closed 5 months ago

luca-fiorito-11 commented 5 months ago

This issue was already raised in #254 . Here more detailes are given on the implementation, not on the physics.

Applying perturbations to doppler-boradedn cross sections rquires:

luca-fiorito-11 commented 5 months ago

The first item was addressed in #299 . Now a pendf instance can be passed as a keyword argument to sandy.Endf6.apply_perturbations.

The second item was tackled in #298 . With keyword option fendto sandy.Endf6.write_string it is possible to omit the end-of-file line when wrtiting to text.