imodextract(1) General Commands Manual imodextract(1)
NAME
imodextract - Extract objects from a model into a new model.
SYNOPSIS
imodextract [-g | -d] list_of_objects input_model output_model
DESCRIPTION
Extracts a subset of the objects from an IMOD model and places them
into a new model. This can be much more convenient than making a copy
of a model and deleting objects one by one inside 3dmod. The list of
object numbers, numbered from 1, can consist of comma-separated ranges
of numbers, for example 1-3,6-9,13,15. You can specify either objects
to be retained or objects to be deleted when making the new model.
If the -g option is given before the list, then the list is treated as
specifying object groups, which can be created in the Model View Object
List dialog. This list of groups (numbered from 1) will be translated
into a list of objects which will be extracted without reordering them.
The groups need not be mutually exclusive; only one copy of an object
is made. The new model will have just the specified object groups, but
appropriately modified with the new object numbers.
If the -d option is entered, then the list specifies objects or object
groups to be deleted, and all the rest of the objects will be
extracted.
Object groups will be replaced when just extracting by object group
(without the -d option), but otherwise existing object groups will be
maintained. The new model will have the same number of object groups,
with objects not extracted removed from the groups, and object numbers
modified appropriately for the rest.
AUTHOR
David Mastronarde, mast at colorado dot edu
SEE ALSO
3dmod
BUGS
Email bug reports to mast at colorado dot edu.
IMOD 5.2.0 imodextract(1)