.. SPDX-FileCopyrightText: 1992-2026 NWO-I/SRON Space Research Organisation Netherlands .. .. SPDX-License-Identifier: CC-BY-4.0 .. _sect:pyspex_commands: Basic PYSPEX commands ===================== The main PYSPEX commands that can be used in Python are designed to follow the SPEX command names. The syntax, however, deviates slightly because it needs to follow the Python syntax. This page contains the full list of the basic PYSPEX commands that are available. This manual intents to show the basic usage of the commands intended for users already familiar with the SPEX syntax. If you need more information what the command does, please check the `SPEX reference manual `_. For each command, the equivalent SPEX command will be mentioned for reference. In the examples below, we assume PYSPEX has been started in python as follows:: >>> from pyspex import Spex >>> s = Spex() Welcome user to SPEX version 3.99.00 NEW in this version of SPEX: Currently using SPEXACT version 2.07.00. Type `help var calc` for details. >>> .. toctree:: :maxdepth: 2 :caption: Commands: com_data com_model com_ascdump com_opt com_plot com_log com_reset