plan for ImodModel
creation API and point2model
function
#25
Labels
enhancement
New feature or request
ImodModel
creation API and point2model
function
#25
following from discussion in #24 here is a proposed API that will simplify creation of
ImodModel
s for writing out with the newimodmodel.write()
function (thanks @jojoelfe !)Contour.from_numpy(arr: np.ndarray)
Object.from_contours(contours: list[Contour])
ImodModel.from_objects(objects: list[Object])
We also want a convenience API available at the top level of
imodmodel
for creating modelsimodmodel.point2model(points: np.ndarray) -> ImodModel
@uermel suggested he may find time to implement this in the near future
The text was updated successfully, but these errors were encountered: