Changeset 61a8b58 in sasview for src/sas/sascalc


Ignore:
Timestamp:
Sep 29, 2017 5:46:22 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
7d8bebf
Parents:
7d97e2d (diff), 7d353af (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'ESS_GUI_SasView250' into ESS_GUI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/calculator/resolution_calculator.py

    r7432acb r01cda57  
    9393        : qy_value: y component of q 
    9494        """ 
     95 
    9596        # make sure to update all the variables need. 
    9697        # except lambda, dlambda, and intensity 
     
    152153                                 sig2_list[ind], sigr_list[ind], 
    153154                                 qx_min, qx_max, qy_min, qy_max, coord) 
    154             # this is the case of q being outside the detector 
    155             #if numpy.all(out==0.0): 
    156             #    continue 
    157155            image = out 
    158156            # set variance as sigmas 
     
    186184            sigma_2 = 0 
    187185            sigma1d = 0 
     186 
    188187        if len(self.image) > 0: 
    189188            self.image += image_out 
     
    192191 
    193192        # plot image 
    194         return self.plot_image(self.image) 
     193        return self.image  # self.plot_image(self.image) 
    195194 
    196195    def setup_tof(self, wavelength, wavelength_spread): 
     
    214213                coord='cartesian', tof=False): 
    215214        """ 
    216         Compute the Q resoltuion in || and + direction of 2D 
     215        Compute the Q resolution in || and + direction of 2D 
    217216        : qx_value: x component of q 
    218217        : qy_value: y component of q 
Note: See TracChangeset for help on using the changeset viewer.