src/amuse/datamodel/particles.py
def reversed(self):
        """
        Returns a subset with the same particles, but with reversed
        sequenctial order (the first particle will become last)

        >>> particles = Particles(3)
        >>> particles.radius = [1.0, 2.0, 3.0] | units.m
        >>> r = particles.reversed()
        >>> print r.radius
        [3.0, 2.0, 1.0] m

        """

        keys = self.get_all_keys_in_store()
        return self._subset(keys[::-1])

        Returns a subset with the same particles, but with reversed
        sequenctial order (the first particle will become last)

        >>> particles = Particles(3)
        >>> particles.radius = [1.0, 2.0, 3.0] | units.m
        >>> r = particles.reversed()
        >>> print r.radius
        [3.0, 2.0, 1.0] m

        
Returns a subset with the same particles, but with reversed
sequenctial order (the first particle will become last)


Returns a subset with the same particles but with reversed sequenctial order ( the first particle will become last )
def reversed(self):
        keys = self.get_all_keys_in_store()
        return self._subset(keys[::-1])
def reversed ( self ) : keys = self . get_all_keys_in_store ( ) return self . _subset ( keys [ : : - 1 ] )
Returns a subset with the same particles, but with reversed
sequenctial order (the first particle will become last)
Returns a subset with the same particles but with reversed sequenctial order ( the first particle will become last )
"""
        Returns a subset with the same particles, but with reversed
        sequenctial order (the first particle will become last)

        >>> particles = Particles(3)
        >>> particles.radius = [1.0, 2.0, 3.0] | units.m
        >>> r = particles.reversed()
        >>> print r.radius
        [3.0, 2.0, 1.0] m

        """
self