On Fri, Feb 07, 2014 at 16:03 -0430, Efrain Gatuzz wrote: > Hi, > > I wrote an x-ray interstellar absorption model with Fortran90 > in order to fit high-resolution spectra. The model uses several > atomic-data files. The code includes a "startup process" such > that the model reads the atomic data each time a new spectra is > added. The "startup process" depends on IFL (the XSPEC > parameter which specifies which dataset is been used). However > when I tried to use the model on ISIS the program never reads > the atomic-data. Does ISIS use the IFL parameter as XSPEC uses? > or should I write a new code for ISIS? In the second case, What > is the parameter that indicates that a new dataset is added in > ISIS? > Isis does not use xspec's IFL parameter. Why is it necessary to read the atomic data each time a new spectrum is added? If the atomic data is the same for every dataset, wouldn't it be better to read the data just once when the model is initialized? In isis, there is no parameter that indicates that a new dataset has been loaded, mainly because there's never been any need for such a parameter. It is, however, possible to define a "hook" function that executes whenever the load_data function is used. For details, see the help page for 'load_data'. 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 Mon Feb 10 2014 - 15:24:05 EST
This archive was generated by hypermail 2.2.0 : Thu Mar 06 2014 - 13:42:38 EST