T O P I C R E V I E W |
Rollo78 |
Posted - 08/02/2011 : 3:55:09 PM Origin Ver. 8.5.0G and Service Release 0 Operating System: Win 7
Hi,
i use the impulse analyzer to fit a Bremsstrahlung spectra. I've created therefore a FDF-File with a rather complicated fit function. Is it possible to use external data e.g. from the worksheet in the fitfunction during the fit?
That means for a certain "x" (channel) i'll calculate an integer number with one of the fitparameters "x*k=c", read out from the worksheet Column(..), Row(c) a double value and use it in the fit function as factor for my fit function.
e.g.: int c; c=k*x; Fitfunction: y=y0 + x*k*(column,row:c)
I hope it's not too confusing!
Best Regards Marco |
2 L A T E S T R E P L I E S (Newest First) |
Rollo78 |
Posted - 08/15/2011 : 05:54:48 AM Thank you for your help!
Greetings Marco |
larry_lan |
Posted - 08/02/2011 : 9:46:15 PM Hi Marco:
Here is an example. You don't need to care about the convolution part. The example shows that, inside the function body, you can use Worksheet wks = Project.ActiveLayer(); to get the active worksheet, and then define datasets for worksheet columns. Hope this helps.
Thanks Larry |
|
|