Changes in sasmodels/kernel.py [cd28947:3199b17] in sasmodels


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kernel.py

    rcd28947 r3199b17  
    2323# pylint: enable=unused-import 
    2424 
     25 
    2526class KernelModel(object): 
    2627    info = None  # type: ModelInfo 
     
    3334        # type: () -> None 
    3435        pass 
     36 
    3537 
    3638class Kernel(object): 
     
    133135        nout = 2 if self.info.have_Fq and self.dim == '1d' else 1 
    134136        total_weight = self.result[nout*self.q_input.nq + 0] 
    135         # Note: total_weight = sum(weight > cutoff), with cutoff >= 0, so it 
    136         # is okay to test directly against zero.  If weight is zero then I(q), 
    137         # etc. must also be zero. 
    138137        if total_weight == 0.: 
    139138            total_weight = 1. 
Note: See TracChangeset for help on using the changeset viewer.