The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Fitting with convolution
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Poffel1985

Germany
17 Posts

Posted - 01/26/2017 :  04:42:26 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release: 2016 SR1
Operating System: 7

Hello, i would like to use a fitting function similiar to this tutorial
http://www.originlab.com/doc/Tutorials/Fitting-Convolution

In this example, one has 1 X-axis and 2 Y-Axis: Time|Signal|Response
This fitting will not work, if the response is shifted. Usually this is the case, as the measurement of the response is a different measurement. Is it possible to include a shift between signal and response while fitting? (I never worked with Origin C or user fitting functions). I would appreciate every bit of help.
Best regards

Poffel1985

Germany
17 Posts

Posted - 02/04/2017 :  02:36:28 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Nobody has an idea?
Go to Top of Page

yuki_wu

896 Posts

Posted - 02/06/2017 :  02:21:44 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I suggest that you can manage the data before you do fitting.

Generally, the peak of impulse response should correspond to the peak of signal as illustrated:


So shift the impulse response to an appropriate position, and then try to do fitting.

Regards,
Yuki
OriginLab
Go to Top of Page

Poffel1985

Germany
17 Posts

Posted - 02/06/2017 :  07:09:29 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
If there is really no other way, I have to do this. However, I have hundreds of measurements. Therefore, I hoped there would be another way. Can I adjust the script somehow, that it excepts a second x column? Then I could manually change the offset.
Go to Top of Page

yuki_wu

896 Posts

Posted - 02/07/2017 :  01:44:39 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I suppose that your data has 2 X-axis and 2 Y-axis: Time1| Signal| Time2| Response. If so, there may be a way to resolve this problem.

Would you mind sending your data to us via email: tech @originlab.com, so that we can play with it and try to show you an example?

Regards,
Yuki
OriginLab
Go to Top of Page

Poffel1985

Germany
17 Posts

Posted - 02/07/2017 :  06:53:18 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you, I have sent you an example origin file with the data
Go to Top of Page

Poffel1985

Germany
17 Posts

Posted - 04/05/2017 :  03:39:22 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Back to my original problem:

If I have two identical x-axis (same time values, same mesh) and I have two Y-Axis: Signal and System response.
However, both are shifted in regards to each other (time offset).

Do I really have to manipulate the date in a way, that the peaks match? Or is it not important for a convolution? If it is important, could you adjust the original ConvolutionGaussianFit?

Best regards
Go to Top of Page

yuki_wu

896 Posts

Posted - 04/05/2017 :  04:45:10 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I have sent you a mail on Feb 8. Have you received it? In that mail, I asked a few of questions since I was not sure whether I understood your source data fully. Could you please check it?

Thanks,
Yuki
OriginLab
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000