Hi, I created a custom kernel for isis that has parameters. I would like to find the best set of parameters that minimize the difference between two flux-corrected spectra. To make this more clear, suppose the data set ids are 1 and 2. The function that I would like to minimize is define my_chisqr () { flux_corr (1); flux_corr (2); f1 = get_data_flux(1); f2 = get_data_flux(2); return sum ((f1.value-f2.value)^2); } Note that since the kernel has parameters, the value returned by the get_data_flux function will depend upon those parameters. What is the best way to accomplish this in isis? Also, if that wasn't enough, I have a feature request: allow an array as the first parameter of set_par, e.g., set_par ([1:3], 0.5); would set parameters 1,2, and 3 to 0.5. 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 Thu Sep 04 2003 - 13:23:59 EDT
This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:44 EDT