Astrolitterbox

Tuesday, December 4, 2012

Pyfits clobber=True keyword

Permits overwriting existing file, if set. e.g.: hdu.writeto(filename+'.fits', clobber=True)
Posted by astrolitterbox at 2:08 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: pyfits, python

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2014 (3)
    • ►  March (1)
    • ►  January (2)
  • ►  2013 (117)
    • ►  December (6)
    • ►  November (23)
    • ►  October (3)
    • ►  September (3)
    • ►  August (2)
    • ►  June (12)
    • ►  May (14)
    • ►  April (12)
    • ►  March (3)
    • ►  February (14)
    • ►  January (25)
  • ▼  2012 (96)
    • ▼  December (8)
      • LaTeX: add border for image
      • Half-light radii to scale lengths
      • lit: Tully-Fisher relation in SDSS bands
      • Matplotlib: errorbar throws a ValueError: too many...
      • Matplotlib: zorder kwarg
      • Matplotlib: no edge for marker
      • The select for my TF sample
      • Pyfits clobber=True keyword
    • ►  November (12)
    • ►  October (19)
    • ►  September (5)
    • ►  August (25)
    • ►  May (8)
    • ►  April (13)
    • ►  March (5)
    • ►  February (1)

About Me

astrolitterbox
I am an astrophysics PhD student. My memory is short, hence this blog.
View my complete profile
Awesome Inc. theme. Powered by Blogger.