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

Initialize PTS logging and matplotlib backend depending on use case. More...

Functions

def initializePTS (prompt=False)
 This function configures the PTS package depending on the way it will be invoked. More...
 

Detailed Description

Initialize PTS logging and matplotlib backend depending on use case.

This module offers facilities for initializing the PTS package depending on the way it is being invoked. Specifically, the logging and matplotlib backend are configured appropriately. The functions in this module are not intended to be called by users directly.

Function Documentation

◆ initializePTS()

def pts.do.initialize.initializePTS (   prompt = False)

This function configures the PTS package depending on the way it will be invoked.

Specifically, the logging and matplotlib backend are configured appropriately.

By default, logging is configured for terminal command line use, i.e. including a time stamp. If prompt is True, logging is configured for interactive prompt use, i.e. without a time stamp.