GalSim
2.7
  • Overview
  • Installation Instructions
  • Tutorials
  • Images and Related Concepts
    • The Image class
    • Bounding boxes
    • Positions
  • Surface Brightness Profiles
  • Wavelength-dependent Profiles
  • Units
  • World Coordinate Systems
  • Noise and Random Values
  • Weak Lensing
  • Photon Shooting
  • Helper Functions and Classes
  • Errors and Warnings
  • The Config Module
  • The HSM Module
  • The DES Module
  • The Roman Space Telescope Module
  • C++ Layer
  • Shared Data
  • Revision History
GalSim
  • Images and Related Concepts
  • View page source

Images and Related Concepts

The main purpose of GalSim is normally to create images that simulate real astronomical observations. As such, the Image class is the most common class in GalSim that you will likely be working with.

An image if fundamentally an array of pixel values plus a bounding box indicating the range of position values for those pixels, and a definition for how the image coordinates relate to positions on the sky.

For the former concept, the Bounds class defines which x and y values are contained in the image, and the Position class is used to describe a particular location on an image.

For the latter concept, the simplest option is to just set a uniform pixel scale, e.g. in arcsec/pixel. But a wide range of more complicated World Coordinate Systems are also possible.

  • The Image class
    • Image
    • _Image()
    • ImageF()
    • ImageD()
    • ImageI()
    • ImageS()
    • ImageUI()
    • ImageUS()
    • ImageCF()
    • ImageCD()
  • Bounding boxes
    • Bounds
    • BoundsI
    • BoundsD
    • _BoundsI()
    • _BoundsD()
  • Positions
    • Position
    • PositionI
    • PositionD
Previous Next

© Copyright 2023, GalSim-developers.

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