Hi Simon,
Usually, the position and width of each peak is an independent parameter.
To use the same parameter for the position of the first function in
each dataset type:
@*: F[0].center = @0.F[0].center
And similarly, to set the width of each first function to the width of
the first function from the first dataset do:
@*: F[0].hwhm = @0.F[0].hwhm
Best wishes,
Marcin
On Wed, 31 Jul 2019 at 15:10, Simon Kohn <gl...@bristol.ac.uk> wrote:
>
> Hello, I am new to fityk and I like a lot of things about it. I have mostly used the GUI but am exploring the use of the command line also. My operating system is Mac 10.12.6.
>
> My problem is that I have three spectra (they are FTIR spectra of the same sample but with different polarisations). I need the position and width of each peak to be forced to be the same between the three spectra but allow the height to vary. It looks like I should be able to do this in the GUI using cmdR then clicking "all datasets" and unchecking "fit each dataset separately". It doesn't work though. I also tried typing fit@* in the command line, but again each spectrum is fitted with completely different parameters.
>
> What am I doing wrong? Any help much appreciated.
>
> Simon
>
> --
> http://groups.google.com/group/fityk-users
> ---
> You received this message because you are subscribed to the Google Groups "fityk-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to fityk...@googlegroups.com.