lmod, localmodel: load a package of local models
The new lmod command (localmodel is an alias for this command) loads a user model package Further details are given in Appendix C. This command is NOT SUPPORTED on Cygwin, where only statically built local model libraries are allowed. Cygwin users should instead consult the static_initpackage section of the initpackage help document.
Syntax: lmod <name> [directory]
As for initpackage, the <name> argument is the name of the model package being loaded, and the <directory> is the its location, defaulting to the setting of LOCAL_MODEL_DIRECTORY given in the user’s Xspec.init
lmod performs the following tasks:
l loads the library corresponding to the package named <name>
l reads the model description file supplied by the initpackage command for the library
l adds the new model components to the list of models recognized by the model command.
Note that lmod requires that the user has write-access to <directory> (please see Appendix C for details).