8000 TOPAS manual scale entry off by a factor of 10 · Issue #9 · stefsmeets/topas_tools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
TOPAS manual scale entry off by a factor of 10 #9
Open
@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

      0