Skip to content

Random thoughts notes from meeting Dec 4, 2023

Benjamin Rose edited this page Dec 4, 2023 · 1 revision

https://github.com/GalSim-developers/GalSim/blob/e37177f7d4ad11d3a7aa46cb15e768bf618bbb08/galsim/config/photon_ops.py#L198

We might need our own of this to ensure that we get things like sca number, or other relevant info.

  • these would things we can add to the init but is not in the config file.

get_cls_params is reading user generated info

This example also gets sed and bandpass, and these are not from the user, but calculated here or elsewhere in the simulations

class PhotonDCRBuilder(PhotonOpBuilder) is also a good example.

Run RegisterPhotonOpType('WavelengthSampler', WavelengthSamplerBuilder()) to get things working.

Clone this wiki locally