Skip to main content

psf_with

Function psf_with 

Source
pub fn psf_with(
    s: &System,
    field: FieldSel,
    w: Waves,
    o: PsfOpts,
    extra: Option<&dyn PupilAmp>,
) -> Result<Psf>
Expand description

psf に、膜・偏光の振幅 extra(PupilAmp、OpticStudio の「Use Polarization」に当たる選択肢)を足す。多色では 各波長の全強度を、重み × 透過した光量の割合に比例させる(lensbench_core::pupil::wave_weight)