OxIonics / ionics_fits

Small python fitting library with an emphasis on Atomic Molecular and Optical Physics
Apache License 2.0
0 stars 0 forks source link

Function annotation for models not completely correct #100

Closed AUTProgram closed 6 months ago

AUTProgram commented 11 months ago

Strictly speaking, the function annotations in Model and Fitter are not quite correct. Models can either return 1D or 2D arrays, but the function annotation states they always return 2D arrays. Similarly, fitters can take either 1D or 2D arrays, but this is not reflected in annotation. This is only a minor issue and does not affect functionality.