Replace the 'variance' parameter with 'weightmap', which should be a sigma-image similar to GALFIT's. Introduce the 'gain' parameter.
Replace the 'variance' parameter with 'weightmap', which should be a sigma-image similar to GALFIT's. Introduce the 'gain' parameter.

vrodgom/statmorph