-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d54e74b
commit 194f72c
Showing
4 changed files
with
30 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,14 @@ | ||
from enum import Enum | ||
|
||
import numpy as np | ||
|
||
from ._fit import JUMP_DET, FixedOffsets, Parameter, PixelOffsets, Variance, fit_ramps | ||
|
||
|
||
class DefaultThreshold(Enum): | ||
INTERCEPT = np.float32(5.5) | ||
CONSTANT = np.float32(1 / 3) | ||
|
||
""" | ||
This subpackage exists to hold the Cython implementation of the OLS cas22 algorithm | ||
This subpackage is private, and should not be imported directly by users. Instead, | ||
import from stcal.ramp_fitting.ols_cas22. | ||
""" | ||
from ._fit import FixedOffsets, Parameter, PixelOffsets, Variance, fit_ramps | ||
|
||
__all__ = [ | ||
"fit_ramps", | ||
"Parameter", | ||
"Variance", | ||
"PixelOffsets", | ||
"FixedOffsets", | ||
"JUMP_DET", | ||
"DefaultThreshold", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters