Skip to content

Make the Filter class thread safe in LCSim #23

Description

@sprajs

Each time the Filter class is used all filters are rescaled to match the wavelength range of the SN spectrum that is being integrated. This is not thread safe if only one Filter class is shared between all threads. On the other hand, each simulations loading it's own filters would introduce a massive IO bottleneck so we need a new memory efficient solution for this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions