JuliaAstro / PSFModels.jl

Fast, allocation-free PSF representations
http://juliaastro.org/PSFModels.jl/
MIT License
10 stars 2 forks source link

add background parameter to models #10

Closed mileslucas closed 2 years ago

mileslucas commented 2 years ago

This adds bkg as an optional parameter for each model. This can be convenient for avoiding background subtraction biasing fitting results.

codecov[bot] commented 2 years ago

Codecov Report

Merging #10 (15055c1) into main (6bee3d6) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #10   +/-   ##
=======================================
  Coverage   99.21%   99.21%           
=======================================
  Files           6        6           
  Lines         128      128           
=======================================
  Hits          127      127           
  Misses          1        1           
Impacted Files Coverage Δ
src/PSFModels.jl 100.00% <ø> (ø)
src/airy.jl 100.00% <100.00%> (ø)
src/fitting.jl 100.00% <100.00%> (ø)
src/gaussian.jl 100.00% <100.00%> (ø)
src/moffat.jl 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6bee3d6...15055c1. Read the comment docs.