Skip to content

Add option to bypass any resolution-convolved calculations #66

Closed
@dkirkby

Description

@dkirkby

This could be useful when specsim is calculating photons input to a 2D sensor simulation, i.e., specsim handles the atmosphere model and fiberloss calculations, and provides high resolution arrays of source and sky photons entering the instrument. Specifically, this mode would only provide the simulated output table and not the per-camera output tables (see here for details).

This should reduce the memory footprint and run time, which (I suspect) are both dominated by the per-camera resolution matrix and convolutions. This mode would be selected with an optional arg to the Simulator ctor, e.g.

desi = specsim.simulator.Simulator('desi', num_fibers=5000, camera_output=False)

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