SatelliteCameraViewer.SatelliteCamera.Earth module

Earth.py

# Earth model

class SatelliteCameraViewer.SatelliteCamera.Earth.Earth[source]

Bases: object

Methods

camera_fov_intercept_earth()

earth_angular_radius()

earth_center_radec(attitude, obs_time)

earth_center_radec - caculate ra/dec for of earth center in the camera frame from the satellite

earth_center_radec_simple(obs_time)

earth_center_radec_simple - caculate ra/dec for of earth center from the satellite

earth_center_vector(obs_time)

earth_center_vector - returns: unit vector pointing from satellite → earth center

earth_center_vector_icrs()

Earth

Parameters:

sat_orbit – Satellite Orbit

Methods

camera_fov_intercept_earth()

earth_angular_radius()

earth_center_radec(attitude, obs_time)

earth_center_radec - caculate ra/dec for of earth center in the camera frame from the satellite

earth_center_radec_simple(obs_time)

earth_center_radec_simple - caculate ra/dec for of earth center from the satellite

earth_center_vector(obs_time)

earth_center_vector - returns: unit vector pointing from satellite → earth center

earth_center_vector_icrs()

camera_fov_intercept_earth()[source]
Parameters:
  • camera – The camera.

  • attitude – The camera attitude.

  • obs_time – The time (in UTC).

  • border_step – Accuracy of edge lines (8 should be ok).

earth_angular_radius()[source]
earth_center_radec(attitude: CameraAttitude, obs_time: datetime)[source]

earth_center_radec - caculate ra/dec for of earth center in the camera frame from the satellite

Parameters:
  • attitude – The camera attitude.

  • obs_time – Time (in UTC)

Returns:

ra/dec for of earth center in the camera frame from the satellite

Return type:

tuple(float, float)

earth_center_radec_simple(obs_time: datetime)[source]

earth_center_radec_simple - caculate ra/dec for of earth center from the satellite

earth_center_vector(obs_time: datetime)[source]

earth_center_vector - returns: unit vector pointing from satellite → earth center

Parameters:

obs_time – Time (in UTC)

Returns:

Vector as [x, y, z].

Return type:

list[float]

earth_center_vector_icrs()[source]
exception SatelliteCameraViewer.SatelliteCamera.Earth.EarthError[source]

Bases: Exception