A thermostat object can be added to a universe and will then modify the integration algorithm to a simulation of an NVT ensemble.
Constructor: NoseThermostat(temperature, relaxation_time=0.2)
the temperature set by the thermostat
the relaxation time of the thermostat coordinate
A barostat object can be added to a universe and will then together with a thermostat object modify the integration algorithm to a simulation of an NPT ensemble.
Constructor: AndersenBarostat(pressure, relaxation_time=1.5)
the pressure set by the barostat
the relaxation time of the barostat coordinate