The waveorder_microscopy constructor contains the following lines:
self.lambda_illu = lambda_illu/n_mediaself.NA_obj = NA_obj/n_mediaself.NA_illu = NA_illu/n_media
which creates confusion when reading the methods and refactoring.
I am planning to make the following changes:
Rename self.lambda_illu to self.lambda_media because lambda_illu/n_media is the wavelength inside the immersion media. It's particularly important to keep track of what media we're in because we have plans to to reconstructions in layered samples (immersion media, water, etc).
Do not change the names ofself.NA_obj and self.NA_illu, but make them true to their names and don't normalize by n_media.
The models in alg-dev now use much more descriptive names
(numerical_aperture_illumination, numerical_aperture_detection, wavelength_illumination, index_of_refraction_media), so this is solved.
The
waveorder_microscopy
constructor contains the following lines:self.lambda_illu = lambda_illu/n_media
self.NA_obj = NA_obj/n_media
self.NA_illu = NA_illu/n_media
which creates confusion when reading the methods and refactoring.I am planning to make the following changes:
Rename
self.lambda_illu
toself.lambda_media
becauselambda_illu/n_media
is the wavelength inside the immersion media. It's particularly important to keep track of what media we're in because we have plans to to reconstructions in layered samples (immersion media, water, etc).Do not change the names of
self.NA_obj
andself.NA_illu
, but make them true to their names and don't normalize byn_media
.