\(\renewcommand\AA{\unicode{x212B}}\)

Diffraction Changes

Powder Diffraction

New features

Bugfixes

../../_images/improved_error_message.png
  • Algorithm DiffractionFocussing is now properly accumulating data when CompressEvents is run prior to it in PreserveEvents=False mode.

  • Algorithm PPDCalibration is once again masking input pixels with empty event lists (bug was present since 6.9.0).

  • Calibration Diagnostics plotting now successfully extracts the solid angle of detectors.

  • Polaris diffraction routine create_total_scattering_pdf no longer causes an unhandled error when calculating cross-sections of multi-atom unit cells for pdf normalisation.

Engineering Diffraction

Bugfixes

Single Crystal Diffraction

New features

  • New algorithm RotateSampleShape that defines the initial orientation of a sample with respect to the beam and instrument.

  • IntegratePeaksSkew is better at determining background bins by minimising third-moment (skew). This is achieved by forcing skew > 0 (minimum skew we would expect in background). This change stops peak mask of IntegratePeaksSkew including too many pixels due to small diffuse scattering:

../../_images/single-crystal-peak-background-edited.png
  • New option not to integrate peaks that include a masked detector in the following algorithms:

  • ISIS single-crystal reduction classes now have the method find_consistent_ub to find a UB that preserves indexing given a reference workspace (at different goniometer angle(s)).

  • ISIS single-crystal reduction classes now have the method optimize_goniometer_axis to optimise the goniometer axes and angles given a sequence of workspaces at different goniometer angle with consistent UBs.

  • ISIS single-crystal reduction classes now have the method calc_absorption_weighted_path_lengths that calculates tbar for each peak (saved in a column of the table) and optionally apply an attenuation correction to the integrated intensity of each peak. By default the correction will be applied if the class has the property scale_integrated = True.

  • Algorithm AddAbsorptionWeightedPathLengths now allows lean peaks to be used. There is also an option to apply the correction.

  • New algorithm FindMultipleUMatrices to find multiple UB matrices (given lattice parameters) for samples with multiple domains or spurious peaks.

    • This algorithm will use the lattice parameters and spacegroup provided to optimise a number (NumberOfUBs) of UB matrices (B is hard-coded due to the lattice parameters provided) and return a group of peak workspaces (one for each UB) containing the peaks that are indexed most accurately by that UB. The algorithm is useful for finding a single UB in the presence of spurious peaks, or finding multiple UBs when there are multiple domains.

../../_images/FindMultipleUMatrices.png

Bugfixes

  • LoadWANDSCD now keeps the sgl and sgu angles set by the goniometer.

  • ConverWANDSCDToQ simplifies the underlying code by using histograms directly.

Release 6.11.0