R.Luminescence

Board for users of the R.Luminescence package

Fastratio with pulsed data

All functions of the R-Luminescence package, except the agemodels and the plot functions shoul be discussed here

Moderator: skreutzer

Fastratio with pulsed data

Postby Alice » Thu Nov 03, 2016 9:01 am

Hey all,

I'm trying to use the function fastratio with pulsed data, but i can't fill in manually the Channels for L2 and L3, any ideas how i could do this?
Alice
 
Posts: 25
Joined: Wed Dec 10, 2014 11:15 am

Re: Fastratio with pulsed data

Postby cburow » Tue Nov 08, 2016 11:35 am

Dear Alice,

unfortunately this is currently not possible. I issued a feature request in our bugtracker [click] and will work on implementing it as soon as possible.

Best,

Christoph
User avatar
cburow
 
Posts: 42
Joined: Thu May 16, 2013 1:39 pm
Location: Cologne

Re: Fastratio with pulsed data

Postby cburow » Tue Nov 08, 2016 12:18 pm

Dear Alice,

I just added two new arguments to the function, namely 'Ch_L2' and 'Ch_L3'. You can now provide custom channel numbers for L2 and L3. Note that 'Ch_L3' requires a vector of length 2 to specify the start and end (e.g., c(40, 50)).

The changes are included in the current version 0.7.0 development build ("@dev_0.7.0"). If you do not want to wait for the official release of the package made available through CRAN you can install the dev package following the instructions given here.

Best,

Christoph
User avatar
cburow
 
Posts: 42
Joined: Thu May 16, 2013 1:39 pm
Location: Cologne

Re: Fastratio with pulsed data

Postby Alice » Fri Jul 14, 2017 8:05 am

Dear all,

I have another question about the fastratio function.

It states in the description
This function follows the equations of Durcan & Duller (2011). The energy required to reduce the fast and medium quartz OSL components to x and x2 % respectively using eq. 3 to determine channels L2 and L3 (start and end). The fast ratio is then calculated from: (L1-L3)/(L2-L3)

After having problems to get the same results from my excel sheet to the function I finally saw the mistake. In the function it says (L1-L3)/(L2-L3) but the eq 5. of the article writes (L1-L2)/(L2-L3). We are always using early background so it made sense to use the latter. I'm wondering if the article is wrong or the script, maybe it doesn't matter, in that case i wonder if it is possible to have both options in the function.

Sincerely,

Alice
Alice
 
Posts: 25
Joined: Wed Dec 10, 2014 11:15 am

Re: Fastratio with pulsed data

Postby cburow » Tue Jul 18, 2017 11:03 am

Dear Alice,

this reply is just to confirm that there is indeed a mismatch in the implementation and the original implementation described in Durcan & Duller (2011). I contacted the original authors of the function and will come back to you as soon as possible.

Best,

Christoph
User avatar
cburow
 
Posts: 42
Joined: Thu May 16, 2013 1:39 pm
Location: Cologne

Re: Fastratio with pulsed data

Postby cburow » Wed Jul 19, 2017 1:31 pm

Dear Alice,

after having spoken to Georgina King and Julie Durcan I can confirm that the approach in our R function is indeed correct and that it is, unfortunately, the article that is at fault. It is a typo that was introduced by the publisher after submitting the manuscript. It has been reached out to Elsevier to have the online version changed.

Best,

Christoph
User avatar
cburow
 
Posts: 42
Joined: Thu May 16, 2013 1:39 pm
Location: Cologne

Re: Fastratio with pulsed data

Postby Alice » Fri Sep 29, 2017 1:28 pm

Dear,

Thank you for your response, sorry for my delay in answer.

As it is, working on the function again and realised (after measuring) I made to small channel width, creating ridiculous errors.
My channel width is 0.02s and the article writes to use around 0.16s is it possible for me to use the function but to sum the first 8 channels?
Alice
 
Posts: 25
Joined: Wed Dec 10, 2014 11:15 am

Re: Fastratio with pulsed data

Postby skreutzer » Fri Sep 29, 2017 3:13 pm

Dear Alice,

in fact you can bin your curves if you want. The package comprises
a function called bin_RLum.Data(). This should do
for your problem (check also ?bin_RLum.Data)
for an example.

You can also bin your data manually, but then you have to write the
code by yourself, so I guess the suggested solution is the more straight
forward one. Here also the full example from the package manual for the
fast ratio function, but including the binning.

Code: Select all
# load example CW-OSL curve
data("ExampleData.CW_OSL_Curve")

##create RLum.Data.Curve object
object <-
  set_RLum(class = "RLum.Data.Curve", data = as.matrix(ExampleData.CW_OSL_Curve))

##bin data
object <- bin_RLum.Data(object, bin_size = 4)

# calculate the fast ratio w/o further adjustments
res <- calc_FastRatio(object)

# show the summary table
get_RLum(res)


Best,

Sebastian
skreutzer
 
Posts: 69
Joined: Tue May 14, 2013 4:19 pm

Re: Fastratio with pulsed data

Postby Alice » Sun Oct 01, 2017 6:21 am

Dear Sebastian,

Worked like a charm, thank you.

Alice
Alice
 
Posts: 25
Joined: Wed Dec 10, 2014 11:15 am


Return to Other functions

Who is online

Users browsing this forum: No registered users and 1 guest

cron