Scene

class phringe.core.scene.Scene(*, name: str = None, star: Star = None, planets: list[phringe.core.sources.planet.Planet] = [], exozodi: Exozodi = None, local_zodi: LocalZodi = None)

Class representing the observation scene.

star

The star in the scene

Type:

Star

planets

The planets in the scene

Type:

list[Planet]

exozodi

The exozodiacal dust in the scene

Type:

Exozodi

local_zodi

The local zodiacal dust in the scene

Type:

LocalZodi

add_source(source: BaseSource)

Add a source to the scene.

Parameters:

source (BaseSource) – The source to add

remove_source(name: str)

Remove a source from the scene.

Parameters:

name (str) – The name of the source to remove