Hi Guilherme,
Here are the basics of that email:
I was trying to think of the best way to do this. There are a couple of ways of approaching this:
1/ We could add the conversion to the importer,
2/We could add the conversion to the U-Pb/UCPb DRS,
3/ Or, we could run a python script to convert the channels after import.
I tend to avoid running conversions within importers because it is useful to be able to compare the data in iolite directly with the data in the file so that you know nothing has gone wrong during import.
Similarly, running the conversion within the DRS is problematic because everyone uses the same DRS, but not everyone has channels to be converted. And so, I have landed on running a short script after import.
Here is what I'd write in the script:
channels = ['Pb206', 'Pb208', 'Th232', 'U238']
for ch in channels:
ch_data = data.timeSeries(ch).data()
ch_data *= 62500000.0
You can copy and paste that into iolite's Python Workspace and save it as a script. Then you can just select it and run it before running the DRS.
Please let me know how it goes.
Cheers,
Bence