Contents:
simcado.commands module
simcado.detector module
simcado.nghxrg module
simcado.optics module
simcado.psf module
simcado.simulation module
simcado.source module
simcado.spatial module
simcado.spectral module
simcado.utils module
simcado.utils.
nearest
Return the index of the value from ‘arr’ which is closest to ‘val’
Array to be searched
Value to find in arr
arr
index of array where the nearest value to val is
val