rgibson> Is there a way to turn off the message "removed 1175 gaps rgibson> from input grid" from define_counts? When I define lots rgibson> of spectra, it clutters up my output. Hi Rob, Do you have control over the input grids? You get this message if there are overlapping bins: isis> c.bin_lo = [1,2,3,4,5]; isis> c.bin_hi = [1.9,3,4,5,6]; isis> c.value=c.bin_lo; isis> c.err=c.value; isis> define_counts( c); Error: gap in grid at bin 1 => set Remove_Spectrum_Gaps=1 to read it anyway Invalid: bad grid -1 isis> Remove_Spectrum_Gaps=1; isis> define_counts( c); removed 1 gaps from input grid 4 If I instead define the high grid from the low grid and append the last point explicitly, isis> c.bin_lo = [1,2,3,4,5]; isis> c.bin_hi = [c.bin_lo[[1:]], c.bin_lo[-1]+1] ; there will be no error (or warning). You can also get numerical precision errors if you try to do something like: isis> c.bin_hi = c.bin_lo + delta ; So I would suggest forming proper grids if you can. Hope that helps, -- Dave David Huenemoerder 617-253-4283 (o); -253-8084 (f); http://space.mit.edu.ezproxyberklee.flo.org/home/dph MIT Kavli Institute for Astrophysics and Space Research 70 Vassar St., NE80-6065, Cambridge, MA 02139 [Admin. Asst.: Elaine Tirrell, 617-253-7480, egt_at_email.domain.hidden ---- 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 Nov 29 2007 - 10:34:24 EST
This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:45 EDT