PuffinPlot issue tracker

Bug: a88/02cc

ID : 02ccc330-e78c-467b-91fb-ac305c839492
Short name : a88/02cc
Status : fixed
Severity : minor
Assigned :
Reporter : Pontus Lurcock <pont@ou094023>
Creator : Pontus Lurcock <pont@ou094023>
Created : Wed, 05 Nov 2008 07:55:53 +0000
Target : 1.0
Summary : Demag midpoint [15]

Comment: --------- Comment ---------
ID: d64a3d5e-c1fa-4ffc-995b-46ddf9ae0f5b
Short name: a88/02cc/d64
From: Pontus Lurcock <pont@ou094023>
Date: Wed, 05 Nov 2008 07:55:53 +0000

Programmatically pick out the demagnetization level corresponding
to a one-half reduction in intensity, show it (optionally) on the
graph(s), and write it to a file for a whole suite.

Comment: --------- Comment ---------
ID: 273a429e-35fa-4e8e-8ba5-dee7598fa4c7
Short name: a88/02cc/273
From: Pontus Lurcock <pont@talvi.net>
Date: Sat, 30 May 2009 06:41:32 +0000

Just closed #64 as dupe of this. Adding #64's description and 
comment here since it contains some information not included in this
ticket:

Christian writes: "A cunning trick to teach the puffin plot would
be a 'find mid point' on intensity plots.  This would be great
for NRM and ARM plots. There are scripts out there that will do
this for you. I have not yet put in the effort to learn how they
work but have grand plans."

I wrote: "Probably straightforward, but need to discuss with
Christian to get an exact definition for `midpoint', a rationale
for doing it, and references for the algorithm.- edited
description (pont, four hours ago)- created (pont, five hours
ago)"

Comment: --------- Comment ---------
ID: 651b049f-38fb-4228-b747-dc102c2eac3f
Short name: a88/02cc/651
From: Pontus Lurcock <pont@talvi.net>
Date: Sat, 30 May 2009 06:46:39 +0000

Christian's keen on this and it's probably easy, so will try to
get it in for the 1.0 release.

Comment: --------- Comment ---------
ID: c807e432-29a4-482f-a8f1-0df262f865d2
Short name: a88/02cc/c80
From: Pontus Lurcock <pont@talvi.net>
Date: Thu, 04 Jun 2009 02:39:14 +0000

Further details following discussion with Christian:

What we are looking to calculate is known as the `median destructive
field' (or, presumably, temperature, though this seems less common),
which is the field required to reduce the intensity to one half of its
initial value. It's described in Dunlop and Ă–zdemir (p. 230). So all
we need to do is determine where the intensity curve crosses the
horizontal line corresponding to half the initial intensity, and read
off the corresponding field strength (or temperature). Interpolating
between two demagnetization levels will probably be necessary.

It's a little more complicated than that, though. Firstly, think about
NRMs with multiple components in different directions. The absolute
intensity might go up before it goes down, as the softest component
disappears first. What do we do then? There is no obvious right
answer. The way to implement it is probably to use the initial
intensity by default, but allow the user to manually recalculate using
only selected points.

Secondly, what if there's more than one crossing? Probably easy: pick
the first (likely to be the one we care about), and again have manual
restricted recalculation as a fall-back.

Thirdly, what if there's no crossing (i.e. we never get down to half
intensity)? Just go with the maximum field/temperature, says
Christian: it will stand out anyway when graphed. But perhaps it
should be marked in some other way when saving the values.

MDF should be marked on the graph by orthogonal lines projecting from
the axes (as is Tauxe lecture 9) and saveable as CSV (can presumably
be thrown in with PCA and Fisher values).

Comment: --------- Comment ---------
ID: a0f64cc0-facf-4d35-b9df-504f61790fe0
Short name: a88/02cc/a0f
From: Pontus Lurcock <pont@talvi.net>
Date: Mon, 27 Jul 2009 00:23:18 +0000

Now mostly done. After discussion with Christian, have decided on
initial implementation whereby the algorithm will be applied to 
all visible points. Works well in the simple case; less so if one
had multiple components with different directions. But we can
deal with that if and when it becomes necessary.

Comment: --------- Comment ---------
ID: 4ad8b6ee-ee33-47d6-9156-22ef60346cc8
Short name: a88/02cc/4ad
From: Pontus Lurcock <pont@talvi.net>
Date: Mon, 27 Jul 2009 00:26:37 +0000

The other remaining task: label MDF value on X-axis of demagnetization
plot.

Comment: --------- Comment ---------
ID: 508f23d6-8dd0-4933-8308-51a6d4e19ff5
Short name: a88/02cc/508
From: Pontus Lurcock <pont@talvi.net>
Date: Fri, 31 Jul 2009 07:15:15 +0000

MDF now shown on X axis. Fully implemented, so closing.