Pyimfit

Latest version: v1.1

Safety actively analyzes 702026 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.11.0

Added
Models (including current parameter values) can now be described by a dict-based format;
dict-based model descriptions (including current best-fit parameter values) can be
returned by Imfit instances as well, via their getModelAsDict method.

Imfit.fit and Imfit.doFit can now take an optional `ftol` parameter (same as the `--ftol`
parameter for the command-line `imfit` program -- controls fractional tolerance of fit statistics
as a convergence criterion during the fitting process).

Pre-compiled version for Python versions 3.9 and 3.10 on macOS.

Changed
The interface to the FunctionSetDescription class has changed: the "name" parameter is
now optional (and defaults to None).

0.10.0

Changed
Updated to use version 1.8 of Imfit, including new image functions (GaussianRingAz, FlatBar)
and function labels in config files.

0.9.0

Added
Pre-compiled version for Python 3.8 on macOS. Minor added checks for correct length of
parameter vectors as inputs to methods in Imfit class.

0.8.8

Added
Imfit objects now return a FitResult object containing summary information about the
fit when the doFit method is called.

Added MakePsfOversampler() convenience function to create PsfOversampling objects
(automatically applies FixImage to oversampled PSF image array).

Changed
Added automatic conversion (via FixImage) of input PSF images when instantiating Imfit objects.

0.8.7

Added
Imfit.runBootstrap can now optionally return a list of parameter names (annotated by function-set
number for X0,Y0 and by function number for function parameters) along with the numpy array
of bootstrap results.

Changed
The FunctionSetDescription and ModelDescription classes now have both
functionList and functionNameList methods; the former returns a list of FunctionDescription
objects, while the latter returns a list of function *names* (strings).

Fixed
Boolean mask images (including boolean masks that are part of a numpy MaskedArray) are
now properly handled.

0.8.6

Added
User can now specify verbosity level of fit via `verbose` keyword in Imfit.doFit().

Data, PSF, mask, and error images added to an Imfit instance are automatically processed
by the FixImage function, so it is no longer necessary to do this prior to adding them
to an Imfit instance.

Changed

Fixed
The (limited) API documentation is now available on readthedocs.org! (After insane kludging with
post-processed HTML...)

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.