Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update with sparse runner in sandbox #134

Merged
merged 7 commits into from
Jul 19, 2021
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/darkflat.c
Original file line number Diff line number Diff line change
@@ -553,7 +553,11 @@ void reorder_u16_a32_a16(uint16_t *restrict data, uint32_t *restrict a0,
/* F2PY_WRAPPER_START
subroutine bgcalc(img, bg, msk, ns, nf, gain, sp, st)
!DOC bgcalc computes a background on a 1d signal where gain
!DOC and sp and st are defined by the code!
!DOC and sp and st are defined by:
!DOC diff = difference to neighbors or bg estimate
!DOC sigmap = weight for abs background value
!DOC sigmat = constant weight
!DOC gain for b += diff * gain
!DOC img - source data
!DOC bg - computed background
!DOC msk - mask