new_app#

jdaviz.new_app(replace=False, set_as_current=True)[source]#

Create a new jdaviz application instance and assign as the current instance.

Parameters:
replacebool, optional

If True, replaces the current application instance with the new one. Default is False, which means a new instance is added to the list of applications.

set_as_currentbool, optional

If True, sets the newly created application instance as the current instance. Default is True.

Returns:
App

A new instance of the App class.