Changeset 6701a0b in sasview for src/sas/sascalc/pr


Ignore:
Timestamp:
Sep 5, 2018 5:23:07 AM (6 years ago)
Author:
wojciech
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
3522037
Parents:
fba204bf
Message:

Typos fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/pr/invertor.py

    rfba204bf r6701a0b  
    7171        A[j][i] = (Fourier transformed base function for point j) 
    7272 
    73     We them choose a number of r-points, n_r, to evaluate the second 
     73    We then choose a number of r-points, n_r, to evaluate the second 
    7474    derivative of P(r) at. This is used as our regularization term. 
    7575    For a vector r of length n_r, the following n_r rows are set to :: 
     
    238238            min_err = 0.01 * yvalues[i] 
    239239            stats_errors[i] = scale * np.sqrt(np.fabs(yvalues[i])) + min_err 
     240        logger.warning("Simulated errors have been added to the data set\n") 
    240241        return stats_errors 
    241242 
     
    257258        invertor.x = self.x 
    258259        invertor.y = self.y 
    259         invertor.err = self.err 
    260260        if np.size(self.err) == 0 or np.all(self.err) == 0: 
    261261            invertor.err = self.add_errors(self.y) 
     
    285285            A[i][j] = (Fourier transformed base function for point j) 
    286286 
    287         We them choose a number of r-points, n_r, to evaluate the second 
     287        We then choose a number of r-points, n_r, to evaluate the second 
    288288        derivative of P(r) at. This is used as our regularization term. 
    289289        For a vector r of length n_r, the following n_r rows are set to :: 
Note: See TracChangeset for help on using the changeset viewer.