Skip to content
Snippets Groups Projects
  • Adam J. Jackson's avatar
    cec6ae97
    Abins broadening: refactor interpolation, apply PEP8 · cec6ae97
    Adam J. Jackson authored
    Fast interpolated broadening is now moved into a more
    general/extensible function, including ascii-art documentation.
    sqrt(2) spacing is implemented, and initial testing shows that this
    noticably improves accuracy for little extra cost. Set this as the
    default, and for now leave in the coarser option for test purposes.
    
    A flag is also provided to skip rebinning inside this function; this
    potentially avoids and expensive redundant operation but makes for
    convoluted logic when this rebin is also considered inside the
    Instrument. A cleaner scheme should be possible, in which it is
    obvious where rebinning should happen.
    cec6ae97
    History
    Abins broadening: refactor interpolation, apply PEP8
    Adam J. Jackson authored
    Fast interpolated broadening is now moved into a more
    general/extensible function, including ascii-art documentation.
    sqrt(2) spacing is implemented, and initial testing shows that this
    noticably improves accuracy for little extra cost. Set this as the
    default, and for now leave in the coarser option for test purposes.
    
    A flag is also provided to skip rebinning inside this function; this
    potentially avoids and expensive redundant operation but makes for
    convoluted logic when this rebin is also considered inside the
    Instrument. A cleaner scheme should be possible, in which it is
    obvious where rebinning should happen.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.