vice.toolkit.hydrodisk.hydrodiskstars.radial_bins¶
Type : list [elements are positive real numbers]
The bins in galactocentric radius in kpc describing the disk model. Must extend from 0 to at least 20 kpc. Need not be sorted in any way when assigned.
Example Code¶
>>> from vice.toolkit.hydrodisk import hydrodiskstars
>>> import numpy as np
>>> example = hydrodiskstars([0, 5, 10, 15, 20])
>>> example.radial_bins
[0, 5, 10, 15, 20]
>>> example.radial_bins = list(range(31))
>>> example.radial_bins
[0,
1,
2,
...
17,
18,
19,
20]