You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These appear to be iterating through pixels. Is there a way to convert this to a vector operation or some other optimization?
Here is a plot of the time taken to run ols_ramp_fit_single generated with snakeviz (note the 40% number was calculated using line_profiler as snakeviz times don't always make sense, note that calc_slope contains a block for calc_slope with an equal measurement of time).
The text was updated successfully, but these errors were encountered:
https://github.com/spacetelescope/stcal/blob/main/src/stcal/ramp_fitting/ols_fit.py#L1657-L1658
These appear to be iterating through pixels. Is there a way to convert this to a vector operation or some other optimization?
Here is a plot of the time taken to run
ols_ramp_fit_single
generated with snakeviz (note the 40% number was calculated using line_profiler as snakeviz times don't always make sense, note thatcalc_slope
contains a block forcalc_slope
with an equal measurement of time).The text was updated successfully, but these errors were encountered: