Closed hmb1 closed 7 years ago
HI Charlie, have changed the op order to the rfl_img formula to *rfl_img= (rfl_rfr_fct/(xps_img_wht-xps_img_drk))(xps_img-xps_img_drk);**
Do you a preference for the old op order?
This reduces t to two the number of expensive casts from (wavelength-> wavelength,x,y) And so reduces by nearly a third the script runtime
...Henry
Looks great to me! Free lunch.
HI Charlie, have changed the op order to the rfl_img formula to *rfl_img= (rfl_rfr_fct/(xps_img_wht-xps_img_drk))(xps_img-xps_img_drk);**
Do you a preference for the old op order?
This reduces t to two the number of expensive casts from (wavelength-> wavelength,x,y) And so reduces by nearly a third the script runtime
...Henry