ezphot

Installation:

  • Installation
  • Getting Started
    • Initialization
    • Loading Telescope Configurations
    • Adding Telescope Configurations (TBD)
    • (Optional) Connecting Data Directories
    • (Optional) Connecting Sky Catalogs

Usage:

  • Loading Images
    • Creating a ScienceImage instance
    • Accessing Data and Header
    • Inspecting Properties
    • Working with Save Paths
    • Saving and Removing Files
    • Visualization
      • Show the full image
      • Show a zoomed region around a position
      • Open with DS9
  • Data Query with DataBrowser
    • Overview
    • Supported Data Types
    • Basic Usage
      • Import and Initialize
      • Available Folder Types
    • Filtering Data
      • Set Search Attributes
      • View Current Filters
    • Searching and Loading Data
      • Basic Search
      • Load as Different Object Types
        • Science Images
        • Reference Images
        • Calibration Images
        • Background Images
        • Error Maps
        • Masks
        • Catalogs
        • Image Information
    • Practical Examples
      • Example 1: Load Science Images for Photometry
      • Example 2: Load Reference and Calibration Data
      • Example 3: Search with Multiple Filters
    • Advanced Features
      • Available Keys
      • Help and Documentation
      • Search in Specific Folders
    • Notes
      • Tips for Efficient Usage
  • Platesolving
    • Usage Examples
    • Astrometry.net Solution
    • SCAMP Solution
  • Masking
    • Overview
    • Creating a MaskGenerator
    • Invalid Pixel Mask
    • Source Mask
    • Circular Mask
    • Cosmic Ray Mask
    • Output of the MaskGenerator
    • Integration with ScienceImage
  • Background Map Generation
    • Overview
    • Creating a BackgroundGenerator
    • Estimating Background with SEP
    • Subtracting the Background
    • The Background Instance
    • Integration with ScienceImage
    • Summary
  • Error Map Generation
    • Overview
    • Creating an ErrormapGenerator
    • Calculating Source/Background RMS from Image
    • Calculating Source RMS (Propagation)
    • Calculating Background RMS (Propagation)
    • The Errormap Instance
    • Integration with ScienceImage
    • Summary
  • Aperture Photometry
    • Input Options
    • Usage Examples
    • [Detection + Photometry] Source-Extractor photometry
    • [Forced photometry] Circular aperture
    • [Forced photometry] Elliptical Aperture
    • Output
    • Notes
  • Photometric Calibration
    • Usage Examples
    • Basic Photometric Calibration
    • Applying Zeropoints
    • Applying Color Terms
    • Applying Magnitude Terms
  • Stacking
    • Usage Examples
    • Basic Multiprocess Stacking
    • Stacking with SWarp
    • Selecting High-Quality Images to stack
    • Matching Zeropoints
    • Matching Seeing

Example

  • Preprocessing
    • 1. Load Data
      • 1.1. Sync Data with SDTDataQuerier (Optional)
      • 🔎 1.2. Query Data with DataBrowser
    • 2. Preprocessing
      • 2.1. Load master frames
      • 2.2. Apply Correction
      • 2.3. Batch Process All Target Images
  • Background estimation
    • 1. Load Data
    • 2. Background Estimation
      • 2.1. Basic Background Estimation
      • 2.2. Advanced Background Estimation
        • 2.2.1. Automatic Source Mask Generation
        • 2.2.2. Manual Mask Generation
        • 2.2.3. Re-generation of Background Map with Source Mask
  • Background RMS Estimation
    • 1. Load Data
    • 2. Background RMS Estimation
      • 2.1. Basic Background RMS Estimation
      • 2.2. Background RMS Estimation with source masking
        • 2.2.1. Automatic Source Mask Generation
        • 2.2.2. Manual Mask Generation
        • 2.2.3. Re-generation of Background RMS Map with Source Mask
      • 2.3. Background RMS Estimation with Error Propagation
        • 2.3.1. Loading the Master Calibration Frames
        • 2.3.2. Background RMS Calculation with Error Propagation
  • Aperture Photometry
    • 1. Load Data
    • 2. Aperture Photometry
    • 3. Aperture Photometry with Background and Background RMS
    • 4. Forced Aperture Photometry
      • 4.1. Circular Aperture Forced Photometry
        • When to Use Circular Apertures:
        • Key Parameters:
        • Point Source Coordinates
      • 4.2. Elliptical Aperture Forced Photometry
        • When to Use Elliptical Apertures:
        • Key Parameters:
        • Extended Source Parameters
  • Photometric Calibration
    • 1. Load Data
    • 2. Photometric Calibration
      • 2.1. Load Source Catalog
      • 2.2. Run Calibration
  • Stacking
    • 1. Load Data
      • 🔍 1.1. Sync the data with SDTDataQuerier (Optional)
      • 1.2. Query Data with DataBrowser
    • 2. Check Your Images
    • 3. Background Estimation
      • 3.1. Background estimation
      • 3.2. Advanced Background Estimation
        • 3.2.1. Automatic Source Mask Generation
        • 3.2.2. Re-generation of Background Map with Source Mask
    • 4. Image stacking
      • 4.1. Image stacking
      • 4.2. Image and Background RMS stacking
      • 4.3. Image stacking with convolution or ZP scaling
      • 4.4. Image stacking with the selected image

API Reference

  • Methods
    • MaskGenerator
      • Methods
    • BackgroundGenerator
      • Methods
    • MaskGenerator
      • ErrormapGenerator
      • Methods
    • Preprocess
      • Methods
    • PlateSolve
      • Methods
    • AperturePhotometry
      • Methods
    • PSFPhotometry
      • Methods
    • PhotometricCalibration
      • Methods
    • Reproject
      • Reproject
      • Methods
    • Stack
      • Methods
    • Subtract
      • Methods
  • Imageobjects
    • ScienceImage
      • ScienceImage
        • ScienceImage.__init__()
      • Methods
        • show()
        • run_ds9()
        • show_position()
        • calculate_invalidmask()
        • calculate_sourcemask()
        • calculate_bkg()
        • calculate_bkgrms()
        • calculate_errormap()
        • calculate_bkgrms_from_propagation()
        • calculate_errormap_from_propagation()
        • get_masterframe()
        • get_referenceframe()
        • query_referenceframe()
        • load()
        • write()
        • remove()
        • copy()
        • rename()
        • clear()
      • Additional Methods
        • update_header()
        • to_referenceimage()
        • load_status()
        • save_status()
        • update_status()
        • save_info()
      • Properties
    • CalibrationImage
      • CalibrationImage
        • CalibrationImage.__init__()
      • Methods
        • run_ds9()
        • show_position()
        • load()
        • write()
        • remove()
        • copy()
        • rename()
        • clear()
      • Additional Methods
        • update_header()
        • load_status()
        • save_status()
        • update_status()
        • save_info()
      • Properties
    • ReferenceImage
      • ReferenceImage
        • ReferenceImage.__init__()
      • Methods
        • show()
        • run_ds9()
        • show_position()
        • load()
        • write()
        • remove()
        • copy()
        • rename()
        • clear()
      • Additional Methods
        • update_header()
        • to_scienceimage()
        • load_status()
        • save_status()
        • update_status()
        • save_info()
      • Properties
    • ImageSet
      • ImageSet
        • ImageSet.__init__()
      • Methods
        • exclude_images()
        • select_images()
        • clear()
        • run_ds9()
      • Properties
    • Mask
      • Mask
        • Mask.__init__()
      • Methods
        • combine_mask()
        • show()
        • run_ds9()
        • load()
        • write()
        • remove()
        • copy()
        • rename()
        • clear()
      • Additional Methods
        • update_header()
        • load_status()
        • save_status()
        • add_status()
        • save_info()
      • Properties
    • Errormap
      • Errormap
        • Errormap.__init__()
      • Methods
        • show()
        • run_ds9()
        • to_rms()
        • to_weight()
        • load()
        • write()
        • remove()
        • copy()
        • rename()
        • clear()
      • Additional Methods
        • update_header()
        • load_status()
        • save_status()
        • add_status()
        • save_info()
      • Properties
    • Background
      • Background
        • Background.__init__()
      • Methods
        • show()
        • run_ds9()
        • load()
        • write()
        • remove()
        • copy()
        • rename()
        • clear()
      • Additional Methods
        • update_header()
        • load_status()
        • save_status()
        • add_status()
        • save_info()
      • Properties
  • DataObjects
    • Catalog
      • Catalog
        • Catalog.__init__()
      • Methods
        • select_sources()
        • show_source()
        • copy()
        • write()
        • remove()
        • apply_mask()
        • to_stamp()
        • to_region()
      • Additional Methods
        • save_info()
        • load_info()
      • Properties
    • CatalogSet
      • CatalogSet
        • CatalogSet.__init__()
      • Methods
        • merge_catalogs()
        • exclude_catalogs()
        • select_catalogs()
        • select_sources()
      • Properties
    • LightCurve
      • LightCurve
        • LightCurve.__init__()
      • Methods
        • plot()
        • extract_source_info()
    • PhotometricSpectrum
      • PhotometricSpectrum
        • PhotometricSpectrum.__init__()
      • Methods
        • plot()
        • extract_source_info()
  • SkyCatalog
    • SkyCatalog
      • SkyCatalog
        • SkyCatalog.__init__()
      • Properties
    • SkyCatalogUtility
      • SkyCatalogUtility
        • SkyCatalogUtility.__init__()
      • Methods
        • get_catalogs()
        • select_reference_sources()
      • Properties
  • Utils
    • DataBrowser
      • DataBrowser
        • DataBrowser.__init__()
      • Methods
        • search()
      • Properties
    • CatalogQuerier
      • CatalogQuerier
        • CatalogQuerier.__init__()
      • Methods
        • query()
        • change_catalog()
        • show_available_catalogs()
      • Properties
    • ImageQuerier
      • ImageQuerier
        • ImageQuerier.__init__()
      • Methods
        • query()
        • check_coverage()
        • change_catalog()
        • show_available_catalogs()
      • Properties
    • SDTDataQuerier
      • SDTDataQuerier
        • SDTDataQuerier.__init__()
      • Methods
        • sync_obsdata()
        • show_obssourcedata()
        • show_obsdestdata()
        • show_obssourcefolder()
        • show_obsdestfolder()
        • show_scisourcedata()
        • show_scidestdata()
        • show_scisourcefolder()
ezphot
  • Search


© Copyright 2025, Hyeonho Choi.

Built with Sphinx using a theme provided by Read the Docs.