System

class amuse_util.datamodel.System(particles: Optional[amuse.datamodel.particles.Particles] = None, evolution: Optional[Any] = None, gravity: Optional[Any] = None, converter: Optional[Any] = None, channel_attrs: Optional[list] = None, **kw)[source]

Bases: object

Class for grouping AMUSE code about a single system.

Dataclass post initialization.

Ensures the particles, evolution, and gravity codes are wrapped in AmuseContainer Makes channels between the particles, evolution and gravity codes, if they are not None.

Parameters
particles: Particles, optional

the basic component.

evolution: evolution code, optional

with particles

gravity: gravity code, optional

with particles

convert: converter, optional
channel_attrs: List[str], optional
Returns
system

Methods Summary

copy(self)

Shallow Copy.

plot_particles(self[, d1, d2])

In progress.

Methods Documentation

copy(self)[source]

Shallow Copy.

Todo

figure out how to deal with external

Returns
System
plot_particles(self, d1='x', d2='y')[source]

In progress.