Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
MYRaf V0.0.2B Documentation
Logo
MYRaf V0.0.2B Documentation

Contents:

  • 1. Introduction
  • 2. Motivation
  • 3. Understanding
  • 4. Fits
    • 4.1. from_image
    • 4.2. from_path
    • 4.3. from_data_header
    • 4.4. sample
    • 4.5. save_as
    • 4.6. header
    • 4.7. pure_header
    • 4.8. hedit
    • 4.9. add
    • 4.10. sub
    • 4.11. mul
    • 4.12. div
    • 4.13. pow
    • 4.14. imarith
    • 4.15. data
    • 4.16. value
    • 4.17. ccd
    • 4.18. imstat
    • 4.19. cosmic_clean
    • 4.20. align
    • 4.21. show
    • 4.22. fits_shift
    • 4.23. fits_rotate
    • 4.24. fits_crop
    • 4.25. fits_bin
    • 4.26. zero_correction
    • 4.27. dark_correction
    • 4.28. flat_correction
    • 4.29. ccdproc
    • 4.30. background
    • 4.31. coordinate_picker
    • 4.32. pixels_to_skys
    • 4.33. skys_to_pixels
    • 4.34. map_to_sky
    • 4.35. daofind
    • 4.36. extract
    • 4.37. photometry_sep
    • 4.38. photometry_phu
    • 4.39. photometry
    • 4.40. solve_field
  • 5. FitsArray
    • 5.1. from_video
    • 5.2. from_paths
    • 5.3. from_pattern
    • 5.4. sample
    • 5.5. files
    • 5.6. save_as
    • 5.7. header
    • 5.8. pure_header
    • 5.9. hedit
    • 5.10. merge
    • 5.11. append
    • 5.12. add
    • 5.13. sub
    • 5.14. mul
    • 5.15. div
    • 5.16. pow
    • 5.17. imarith
    • 5.18. data
    • 5.19. value
    • 5.20. ccd
    • 5.21. imstat
    • 5.22. hselect
    • 5.23. shift
    • 5.24. rotate
    • 5.25. crop
    • 5.26. bin
    • 5.27. align
    • 5.28. zero_correction
    • 5.29. dark_correction
    • 5.30. flat_correction
    • 5.31. ccdproc
    • 5.32. background
    • 5.33. photometry_sep
    • 5.34. photometry_phu
    • 5.35. photometry
    • 5.36. cosmic_clean
    • 5.37. show
    • 5.38. combine
    • 5.39. zero_combine
    • 5.40. dark_combine
    • 5.41. flat_combine
    • 5.42. pixels_to_skys
    • 5.43. skys_to_pixels
    • 5.44. map_to_sky
    • 5.45. daofind
    • 5.46. extract
    • 5.47. solve_field
    • 5.48. group_by
  • 6. CLI
    • 6.1. header
    • 6.2. hedit
    • 6.3. arith
    • 6.4. value
    • 6.5. stat
    • 6.6. bin
    • 6.7. crop
    • 6.8. rotate
    • 6.9. shift
    • 6.10. clean
    • 6.11. show
    • 6.12. align
    • 6.13. p2s
    • 6.14. s2p
    • 6.15. map2sky
  • 7. Examples
  • 8. GUI
Back to top
View this page
Edit this page

4.6. header¶

Returns headers of the fits file


Fits.header() → pd.DataFrame¶

Returns headers of the FITS file.

Returns

pd.DataFrame

The headers as a pandas DataFrame.


4.6.1. Example:¶

from myraflib import Fits

fits = Fits.sample()
header = fits.header()
Next
4.7. pure_header
Previous
4.5. save_as
Copyright © 2024, Mohammad Niaei, Yücel Kılıç
Made with Sphinx and @pradyunsg's Furo
On this page
  • 4.6. header
    • Fits.header()
    • 4.6.1. Example: