ShapeModel.read¶
giant.utilities.stereophotoclinometry
:
- ShapeModel.read(file_name=None, conversion=1.0)[source]¶
This method reads data from a SPC Shape file (normally
SHAPEFILES/*.TXT
) and populates the attributes of this class with that data.If
file_name
is not specified thefile_name
attribute of the class is used instead.The argument conversion can be used to convert from the SPC units (nominally km) to another unit for the vertices.
- Parameters:
file_name (Path | str | None) – The file to load the Shape data from
conversion (Real) – The conversion to apply to the verticies to change their units