OortExpansion

class peebee.models.OortExpansion(vert_only=False, **kwargs)

Bases: Model

Oort expansion (alpha) model with flexible vertical and radial components.

Implements a general Taylor series expansion model with vertical acceleration terms and flexible radial rotation curve. The vert_only flag allows using only the vertical potential component.

Methods Summary

accel(x, y, z, **kwargs)

Compute Oort expansion acceleration.

set_vert_only(b)

Toggle vertical-only mode.

Methods Documentation

accel(x, y, z, **kwargs)

Compute Oort expansion acceleration.

X (array_like):

X coordinates (kpc)

Y (array_like):

Y coordinates (kpc)

Z (array_like):

Z coordinates (kpc)

**kwargskwargs:

Additional keyword arguments

Returns:

acceleration (tuple) - Three-component acceleration (ax, ay, az) in mm/s/yr

set_vert_only(b)

Toggle vertical-only mode.

B (bool):

Enable vertical-only acceleration if True

Returns:

None