Re: gain command

From: John Houck <houck_at_email.domain.hidden>
Date: Fri, 26 Jul 2013 13:05:48 -0400
From: Efrain Gatuzz <egatuzz_at_email.domain.hidden> Is there an equivalent command on ISIS to the gain command from
> XSPEC? In order to modify a response file gain. I want to
> shifts the energies on which the response matrix is defined and
> shifts the effective area curve too.

The gainshift kernel should provide the equivalent
functionality.

To discover this using the interactive help system one can do
the following. To find defined symbols that include the string
"gain" you can use 'apropos'.  For example:

  isis> apropos gain

  Found 2 function matches in namespace Global:
  gainshift                  gainshift_fit              

  Found 1 variable match in namespace Global:
  EAGAIN

The man page for 'gainshift' briefly describes what it does and
how to use it. For example, to apply a gain shift to dataset 1,
you can do something like:

    set_kernel (1, "gainshift");

This adds 'gainshift' parameters 'slope' and 'intercept'
to the current model.

Thanks,
-John


----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Fri Jul 26 2013 - 13:05:59 EDT

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:47 EDT