The units of the parameters does not match for parameter sweeps
Copy/paste error explanation:
Some of feedback/issues regarding the previous issue.
1- The units of the parameters being scanned does not match.
If i have <TransverseSigma unit="um">[ 318,302 ]</TransverseSigma>
in my seed file and try to do a scan over the X value of the beam size.
I get <TransverseSigma unit="um">[1.0, 0.000302]</TransverseSigma>
when trying to scan from 100 um to 10 mm (see screenshot).
Note that the X value is now 1 and the Y is now 0.000302. I would have expected either :
-
<TransverseSigma unit="m">[0.0001, 0.000302]</TransverseSigma>
or
Same thing if I try with another field e.g. longitudinal sigma (again see image).
I have <LongitudinalSigmaLabFrame unit="ns">1.2/4</LongitudinalSigmaLabFrame>
in the seed and now I have <LongitudinalSigmaLabFrame unit="ns">1.0</LongitudinalSigmaLabFrame>
in the file generated.
When I would have expected either <LongitudinalSigmaLabFrame unit="ns">0.1</LongitudinalSigmaLabFrame>
or <LongitudinalSigmaLabFrame unit="s">0.0000000001</LongitudinalSigmaLabFrame>