Author |
Topic |
|
ONeilll
33 Posts |
Posted - 04/15/2015 : 08:08:53 AM
|
Origin8G SR4 v8.0951 (B951) Windows 7 64 bit
Hi!
I have some X, Y data. This data are the Maxima for a (IR) measurement. Now I would like to create a function that covers my maxima and when there is no data it should return like zero (in the picture it´s at -10 this is just a wrong drawing). I have attached a file which might be helpful to understand what I mean. I would like to get some peaks out of it but more smooth as it is drawn in the picture. Maybe it is possible to adjust the full width half maximum as well?
Many thanks in advance, ONeilll
|
Edited by - ONeilll on 04/15/2015 09:02:35 AM |
|
jasonzhao
China
262 Posts |
Posted - 04/15/2015 : 11:31:18 PM
|
Hi ONeilll,
The peak shape strongly depends on the data, maybe you can run signal process to widen your peak, or share a sample data to (tech@originlab.com) for us to check.
Best regards! Jason OriginLab Technical Service |
Edited by - jasonzhao on 04/15/2015 11:35:58 PM |
|
|
Hideo Fujii
USA
1582 Posts |
Posted - 04/16/2015 : 12:53:53 PM
|
Hi,
If your data needs some special treatments based on your data, Jason may suggest you to do something. But, if you simply want to generate a function which contains the peaks with specific positions and heights, it can be achieved simply by using Set Multiple Columns Values tool for each peak with the peak function of your choice.
For example, the following worksheet construction contains the peak positions at column B, FWHM's at C, heights at D. Columns F to K are function values of the amplitude version of Gaussian ("GaussAmp") based on the corresponding peak parameters in the <Peak#>th row in columns B, C, and D.
The column L is the final result of the summation of columns from F to K. Graph1 includes the plot of the original data of column D (with the vertical drop lines), and the result function plot. (You can change the FWHM values in the column C, and the rest will be recalculated automatically.)
Hope this helps.
--Hideo Fujii OriginLab |
Edited by - Hideo Fujii on 04/16/2015 1:34:28 PM |
|
|
ONeilll
33 Posts |
Posted - 04/17/2015 : 04:02:51 AM
|
Hello jasonzhao and Hideo Fujii!
quote: Originally posted by Hideo Fujii
But, if you simply want to generate a function which contains the peaks with specific positions and heights, it can be achieved simply by using Set Multiple Columns Values tool for each peak with the peak function of your choice.
This is exactly what I was searching for. I have tried to reproduce your Origin file, but I have problems. 1. Question: I have tried to set multiple column values like stated here: https://originlab.jira.com/wiki/display/main/Set+Multiple+Column+Values Unfortunately when I mark more than one column I don´t see this option. I´t ok as long as I don´t have too many peaks.
2. Question: I´m failing while calculate, as you can see in the attached picture:
Any suggestions what is wrong?
Would it possible to receive your origin file via email? Would be a great help.
Thanks for your help.
Cheers ONeilll |
Edited by - ONeilll on 04/17/2015 04:04:49 AM |
|
|
Hideo Fujii
USA
1582 Posts |
Posted - 04/17/2015 : 11:22:21 AM
|
Hi ONeilll,
> 1. Question: I have tried to set multiple column values... I don´t see this option. Your Origin 8.0 doesn't support Set Multiple Columns Values. So, as you thought, you need to use the Set Column Values tool for every column.
> 2. Question: I´m failing while calculate,... Unfortunately, again your version doesn't support the system variable "j" to represent the current column number. So, you need to plug in the actual value "1" instead of "j-5".
Good luck!
--Hideo Fujii OriginLab |
Edited by - Hideo Fujii on 04/17/2015 11:23:07 AM |
|
|
ONeilll
33 Posts |
Posted - 04/27/2015 : 04:31:52 AM
|
Thank you very much for your help.
Kind regards ONeilll |
|
|
|
Topic |
|
|
|