Restore a previous Sherpa session from a file
restore([filename=sherpa.save])
The restore command restores all information about a Sherpa
session, including the data, from a save file
("ahelp save").
The file is platform-independent, allowing collaborators to
send a Sherpa session to one another.
-
filename - name, including path, of the save file;
default is "sherpa.save" in the working directory
Currently the session is stored as a binary file, so it cannot
be viewed or modified outside of Sherpa. In the
future, it may be made available as an ASCII file to allow
users to view and edit it.
The session is restored from the default file,
sherpa.save.
sherpa> restore("/data/m31/model2.shp")
The session is restored from the file /data/m31/model2.shp.
|