Skip to content

Commit

Permalink
Making changes to docstrings and comments due to code review.
Browse files Browse the repository at this point in the history
  • Loading branch information
kmacdonald-stsci committed Nov 21, 2024
1 parent b55c3b2 commit 104b8d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/stcal/ramp_fitting/ols_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ def ols_ramp_fit_multi(ramp_data, buffsize, save_opt, readnoise_2d, gain_2d, wei
gain_2d : ndarray
gain for all pixels
algorithm : str
'OLS' specifies that ordinary least squares should be used;
'GLS' specifies that generalized least squares should be used.
weighting : str
'optimal' specifies that optimal weighting should be used;
currently the only weighting supported.
Expand Down
5 changes: 4 additions & 1 deletion src/stcal/ramp_fitting/src/slope_fitter.c
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,10 @@ print_delim_char(char c, int len) {
printf("\n");
}

/* Used for debugging to determine if a pixel is in a list */
/*
* Used to determine if a pixel is in a list.
* This is a debugging function.
*/
static inline int
is_pix_in_list(struct ramp_data * rd, struct pixel_ramp * pr)
{
Expand Down

0 comments on commit 104b8d8

Please sign in to comment.