Skip to content

spectrum.spectrum property mutates spectrum.broadened[0][1] in place #2

Description

@n-solan

I am trying to plot each of the broadened atomic spectra, and noticed Y += b[1] in the spectrum property performs an in-place operation on self.broadened[0][1], so every call to spectrum.spectrum accumulates the other atoms' intensities onto the first atom's array

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions