lect23 - UCF Physics: AST 5765/4762: (Advanced)...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
UCF Physics: AST 5765/4762: (Advanced) Astronomical Data Analysis Fall 2009 Lecture Notes: 23. Atmospheric Calibration and Introduction to Spectrosopy 1 Check In: 10:30 — 10:40, 10 min Questions before we start? Memory use: Record floats, not doubles, usually (as FITS) If short on memory, use floats for image data (why?) Please do not hand in files not requested Work on stuff in place Delete variables Use top and ps to monitor memory Careful: Passing an array slice different IDL vs. Python IDL: Gets turned into anonymous object Gets deleted at end of call Therefore, will not be modified in caller Can copy to temporary variable, do the call, and copy back Python: A view into the array is passed Modifies array in caller 13spec/slicepass.py Test your output! Make trivial test cases, run routine, check answer Check that what you got back is what you expect on real data At least check that the result is sane (not all same value, etc.) Use course staff Quote on debugging: I went on to test the program in every way I could devise. I strained it to ex- pose its weaknesses. I ran it for high-mass stars and low-mass stars, for stars born
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

lect23 - UCF Physics: AST 5765/4762: (Advanced)...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online