Module: geometry_transformation

Example Google style docstrings.

This module demonstrates documentation as specified by the Google Python Style Guide. Docstrings may extend over multiple lines. Sections are created with a section header and a colon followed by a block of indented text.

Example:

Examples can be given using either the Example or Examples sections. Sections support any reStructuredText formatting, including literal blocks:

$ python example_google.py

Section breaks are created by resuming unindented text. Section breaks are also implicitly created anytime a new section starts.

Attributes:
module_level_variable1 (int): Module level variables may be documented in

either the Attributes section of the module docstring, or in an inline docstring immediately following the variable.

Either form is acceptable, but the two should not be mixed. Choose one convention to document module level variables and be consistent with it.

class Affine(new_aspect_ratio)[source]

Bases: asterism.core.coordinates.geometry_transformation.GeomTransform

Methods

apply(GeomRepr2d)
apply(GeomRepr2d)[source]
class GeomTransform[source]

Bases: object

class Rotation(angle=90.0, units='deg', rotation_center=None)[source]

Bases: asterism.core.coordinates.geometry_transformation.GeomTransform

Attributes

center
center_x
center_y

Methods

apply(GeomRepr2d)
apply(GeomRepr2d)[source]
center
center_x
center_y
class TranslationCartesian(dx, dy)[source]

Bases: asterism.core.coordinates.geometry_transformation.GeomTransform

Methods

apply(GeomRepr2d)
apply(GeomRepr2d)[source]