Hi I'd like to modify the "constant" kernel so that it is a "constant + bremsstrahlung" kernel. (I think this is easier in the short term than changing ISIS so that independent models can be fit to each data set). Looking at the code for the constant kernel, I think there are only two things I need to know: (1) how do I declare an array or structure to hold a "spectrum", and (2) how do I call _brems (or whatever) to put the appropriate spectrum into that array or structure? I can then just change g->val[i] *= (*par) * (k->eff_area [n] * k->exposure_time); to something along the lines of g->val[i] = ( g->val[i]*(*par) + brems_spec->val[i] ) * (k->eff_area[n] * k->exposure_time); Um... I'm not sure how straightforward this is? I believe that with this modification ISIS will do absolutely everything I want!! Thanks again for your help with bug fixes and adding new features... Cheers Andy ---- 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 Feb 27 2001 - 15:22:31 EST
This archive was generated by hypermail 2.2.0 : Thu Mar 15 2007 - 08:45:50 EDT