UserSpace.new_space(name=None, bases=None, formula=None, refs=None)#

Create a child space.

  • name (str, optional) – Name of the space. Defaults to SpaceN, where N is a number determined automatically.

  • bases (optional) – A space or a sequence of spaces to be the base space(s) of the created space.

  • formula (optional) – Function to specify the parameters of dynamic child spaces. The signature of this function is used for setting parameters for dynamic child spaces. This function should return a mapping of keyword arguments to be passed to this method when the dynamic child spaces are created.


The new child space.