shutdown_plotms¶
- shutdown_plotms() None[source]¶
Shutdown the existing plotms process in the current CASA session.
This utility function shuts down the persistent plotms process in the current CASA session, allowing the next plotms call to start from a fresh process. It's implemented as a short-term workaround for two issues related to plotms persistence:
- A plotms process always uses the initial working directory for output paths with relative filenames (CAS-13626),
even after the Python working directory has changed.
- A plotms process continues using the same casa logfile it started with, even after the casa log file
location has been changed.
Note: This implementation follows the approach used in casaplotms.private.plotmstool.__stub_check()