On Tue, Jun 14, 2011 at 10:48 +0530, gulabd_at_email.domain.hidden> > Hi, > > I am trying to load an xspec-style etable model in isis-1.6.1-39 with the command add_etable_model. > This command exists but does not load. > > isis> add_etable_model ; > add_etable_model: Function did not autoload > > Any help? > > -gulab > ---- Hi Gulab, The short answer is that the etable model interface no longer exists. The autoload for add_etable_model should also have been removed, but I overlooked it. As a workaround, can you load your etable model as an mtable and then evaluate the exponential as part of the model expression? For example: add_mtable_model (file, "yourmodel") fit_fun ("... exp(yourmodel(1)) ... "); Here's a fuller explanation: To evaluate xspec table models, isis uses the relevant functions provided by the xspec subroutine library. The xspec11 subroutine library provided three such functions to support additive, multiplicative, and exponential table models, so isis provided interfaces for all three. Early after the transition to xspec12, xspec12 provided no table model interface at all, so isis continued to support table models using the three xspec11 library functions. Now that the Xspec12 subroutine library again provides functions to evaluate table models, isis has switched to the new interface. However, only the additive and multiplicative models are supported. No etable function is provided, so isis no longer provides an etable interface. Nevertheless, I think etables should still be usable with the above workaround. Does that work with your 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: unsubscribeReceived on Tue Jun 14 2011 - 07:50:26 EDT
This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:47 EDT