Closed NuggetOfficial closed 10 months ago
Yes that is a remnant of the previous interface. We changed the interface and probably did not update all documentation. The wavelength parameter should be removed.
Thanks @NuggetOfficial ! I made #222 that fixes this docstring mistake.
This was originally the center wavelength, part of a very old version of the API, before HCIPy was made open source, I think even.
I believe I found a small error in the
FraunhoferPropagator
docstring. The docstring mentions thatwavelength
is one of the input arguments but, looking at the init of the class, it seems like this parameter is not part of the initialisation of the class.Am I missunderstanding something? or is it a remnant from an older version of the code? Here's a copy of the code im refering to: