The SKIRT project
advanced radiative transfer for astrophysics
Namespaces
pts.do Namespace Reference

Exposing PTS functionality to the command line. More...

Namespaces

namespace  __main__
 Execute one of the PTS command scripts from the command line.
 
namespace  command
 Execute one of the PTS command scripts from the command line.
 
namespace  initialize
 Initialize PTS logging and matplotlib backend depending on use case.
 
namespace  prompt
 Access PTS command scripts and functions from the interactive Python prompt.
 

Detailed Description

Exposing PTS functionality to the command line.

The Python scripts residing in the (optional) do sub-directory of each PTS package are intended to be invoked from the command line, exposing (part of) the package's functionality for interactive use in a terminal session. The __main__ module in this package enables executing any of these scripts from the command line, without having to specify the exact location.