pylupnt.LunarDem

class pylupnt.LunarDem

Loaded (cropped, downsampled) lunar digital elevation model.

property center_x

Native x-coordinate of grid center [m].

property center_y

Native y-coordinate of grid center [m].

property cols

Grid width (number of x samples).

property elevation

Elevation grid [m].

get_elevation(self: pylupnt._pylupnt.LunarDem, x: SupportsFloat | SupportsIndex, y: SupportsFloat | SupportsIndex) float

Bilinearly interpolate terrain elevation [m] at native projected (x, y) [m].

get_elevation_lat_lon(self: pylupnt._pylupnt.LunarDem, lat_deg: SupportsFloat | SupportsIndex, lon_deg: SupportsFloat | SupportsIndex) float

Approximate terrain elevation [m] at a latitude/longitude [deg].

property rows

Grid height (number of y samples).

property site

Originating PGDA site metadata.

property x

Pixel-center x-coordinate grid [m].

property x_max

Maximum native x-coordinate [m].

property x_min

Minimum native x-coordinate [m].

property y

Pixel-center y-coordinate grid [m].

property y_max

Maximum native y-coordinate [m].

property y_min

Minimum native y-coordinate [m].