johnnygreco / pymfit

python-imfit
MIT License
4 stars 1 forks source link

Allow sigma image as input noise map #2

Closed dr-guangtou closed 7 years ago

dr-guangtou commented 7 years ago

Currently core.py only allows variance image. Add an option to make it possible to use Sigma map.

johnnygreco commented 7 years ago

Definitely a useful addition.

Perhaps we should change var_fn to noise_fn?

Thanks.

dr-guangtou commented 7 years ago

I tried to make a minor change, and will submit a pull request later....I want to learn how to do that.

I assume most of tests done are using variance images, so I will just keep var_fn as is, so you don't need to change all your codes.

Best, Song