Skip to content

Modify the normalization of the noise in DC2.1rc6 reported by JM and aurelien #143

@mjtueros

Description

@mjtueros

Hello all,
I strongly believe but, needless to say, happy to be wrong that there is a factor 1./ sqrt(2) too much in the generation of the galactic noise in Grandlib.
More precisely
in galaxy.py (grand/grand/sim/noise/) at line 186 I think it should be
v_complex = np.abs(amp * size_out / np.sqrt(2)) * np.exp(1j * phase)

rather than
v_complex = np.abs(amp * size_out / 2) * np.exp(1j * phase)

This would explain the low level of Galactic noise in the latest DC2 release.

I am going to make some plots to backup my claim, but maybe people will agree with me, and I won't have too 😀

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions