Skip to content

TOPAS manual scale entry off by a factor of 10 #9

@shelbygalinat

Description

@shelbygalinat

It seems to me that the topas_scale variable in topasdiff.py calculated from the manual user input of the TOPAS scale factor is too large by a factor of 10. If you do not enter a scale factor manually, the approximated scale factor is 10x less. I'm not sure why this is happening - perhaps there was a TOPAS update in how the TOPAS scale factor is worked into the intensity calculation in TOPAS?

Regardless, this is an easy fix:
if topas_scale: scale = float(topas_scale) ** 0.5/10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions