Ticket #11210 (closed: fixed)

Opened 6 years ago

Last modified 5 years ago

Create Pseudo-Voigt function with mixing parameter

Reported by: Michael Wedel Owned by: Michael Wedel
Priority: major Milestone: Release 3.4
Component: Diffraction Keywords: POLDI
Cc: Blocked By:
Blocking: Tester: Roman Tolchenov

Description (last modified by Michael Wedel) (diff)

The Pseudo-Voigt function is a mixture of a Gaussian and a Lorentzian, with a mixing parameter a, which is on the interval [0,1]:

f(x) = a * G(x) + (1-a) * L(x)

FWHM is the same for Gaussian and Lorentzian part, as are height and center. I would like to implement this function because it has been requested as a profile function for fitting POLDI data.

Attachments

pv.nxs (62.3 KB) - added by Michael Wedel 6 years ago.

Change History

comment:1 Changed 6 years ago by Michael Wedel

  • Description modified (diff)

comment:2 Changed 6 years ago by Michael Wedel

  • Status changed from new to inprogress

Refs #11210. Added Pseudo-Voigt function

The unit test checks function values and derivatives against data obtained with matlab.

Changeset: 77f2737f37a461ddf298fd0b1e53c28f07df7c79

comment:3 Changed 6 years ago by Michael Wedel

Refs #11210. Increasing penalty for mixing constraint

Changeset: 5a7e10f707764822c3d4f5ed92a4aa9548f2b0e4

comment:4 Changed 6 years ago by Michael Wedel

Refs #11210. Adding documentation, more unit tests.

Changeset: a8bb1c20c3b3394ac40f80900fbd1f8c4712c6d6

comment:5 Changed 6 years ago by Michael Wedel

  • Status changed from inprogress to verify
  • Resolution set to fixed

This is being verified as pull request #352.

comment:6 Changed 6 years ago by Michael Wedel

Refs #11210. Adding cmath header

Changeset: 6bacf477da6f4649e670cba223bff979d3dd2816

comment:7 Changed 6 years ago by Roman Tolchenov

  • Status changed from verify to verifying
  • Tester set to Roman Tolchenov

Changed 6 years ago by Michael Wedel

comment:8 Changed 6 years ago by Roman Tolchenov

  • Status changed from verifying to closed

Merge pull request #352 from mantidproject/11210_add_pseudo_voigt_function

Add PseudoVoigt profile function

Full changeset: a79431fb73f6c4e0821b36722bb5cc52095bcc72

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 12049

Note: See TracTickets for help on using tickets.