On Wed, Nov 09, 2011 at 11:30:08AM +0100, Francisco Balzarotti wrote:
> I'd like to know whether it's possible to use custom functions to fit
> profiles.
Unfortunately, no. Namely because the fitter is an ancient unscaled M-L
fitter code so it is difficult to export an interface for user fitting
functions that would be actually useful.
> In the case I have to edit a module to introduce the functions I need, may
> you give some orientation with which module and the editing/compiling
> tools? (I'm using the windows version)
Fitting functions are not defined in modules, they are defined in
libgwyddion/nlfitpresets.c. A new function is added by adding an entry
to fitting_presets[]. The meaning of struct _GwyNLFitPresetBuiltin
members should be relatively clear and the existing functions can serve
as examples. If your new function could be of general interest it can
be added to Gwyddion so that everyone can use it.
Gwyddion for MS Windows is cross-compiled on Linux as described in the
user guide
http://gwyddion.net/documentation/user-guide-en/installation-cross-mingw32.html
This is the only method I am able to use because it does not involve
having actual MS Windows. So the tools consist of a text/code editor of
your choice and the standard GNU toolchain.
Regards,
Yeti
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Gwyddion-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gwyddion-users