Skip to content

Commit

Permalink
Speed up Jump detection (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamJamieson authored Nov 10, 2023
2 parents d416c8b + 7ec3a6b commit 41c4ec6
Show file tree
Hide file tree
Showing 16 changed files with 1,432 additions and 1,532 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ ramp_fitting

- Moving some CI tests from JWST to STCAL. [#228, spacetelescope/jwst#6080]

- Significantly, improve the performance of the uneven ramp fitting algorithm. [#229]

Changes to API
--------------

Expand Down
18 changes: 6 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,20 @@

extensions = [
Extension(
'stcal.ramp_fitting.ols_cas22._core',
['src/stcal/ramp_fitting/ols_cas22/_core.pyx'],
'stcal.ramp_fitting.ols_cas22._ramp',
['src/stcal/ramp_fitting/ols_cas22/_ramp.pyx'],
include_dirs=[np.get_include()],
language='c++'
),
Extension(
'stcal.ramp_fitting.ols_cas22._fixed',
['src/stcal/ramp_fitting/ols_cas22/_fixed.pyx'],
'stcal.ramp_fitting.ols_cas22._jump',
['src/stcal/ramp_fitting/ols_cas22/_jump.pyx'],
include_dirs=[np.get_include()],
language='c++'
),
Extension(
'stcal.ramp_fitting.ols_cas22._pixel',
['src/stcal/ramp_fitting/ols_cas22/_pixel.pyx'],
include_dirs=[np.get_include()],
language='c++'
),
Extension(
'stcal.ramp_fitting.ols_cas22._fit_ramps',
['src/stcal/ramp_fitting/ols_cas22/_fit_ramps.pyx'],
'stcal.ramp_fitting.ols_cas22._fit',
['src/stcal/ramp_fitting/ols_cas22/_fit.pyx'],
include_dirs=[np.get_include()],
language='c++'
),
Expand Down
6 changes: 3 additions & 3 deletions src/stcal/ramp_fitting/ols_cas22/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ._fit_ramps import fit_ramps, RampFitOutputs
from ._core import Parameter, Variance, Diff, RampJumpDQ
from ._fit import fit_ramps, RampFitOutputs, Parameter, Variance
from ._jump import JUMP_DET

__all__ = ['fit_ramps', 'RampFitOutputs', 'Parameter', 'Variance', 'Diff', 'RampJumpDQ']
__all__ = ['fit_ramps', 'RampFitOutputs', 'Parameter', 'Variance', 'Diff', 'JUMP_DET']
56 changes: 0 additions & 56 deletions src/stcal/ramp_fitting/ols_cas22/_core.pxd

This file was deleted.

235 changes: 0 additions & 235 deletions src/stcal/ramp_fitting/ols_cas22/_core.pyx

This file was deleted.

Loading

0 comments on commit 41c4ec6

Please sign in to comment.