mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-10-18 18:25:06 +02:00
zero centre by default
This commit is contained in:
parent
b3c7d687b7
commit
d2c1f3294a
@ -339,7 +339,7 @@ def convert_mass_cols(arr, cols):
|
||||
arr[col] *= BOXMASS
|
||||
|
||||
|
||||
def convert_position_cols(arr, cols, zero_centered=False):
|
||||
def convert_position_cols(arr, cols, zero_centered=True):
|
||||
"""
|
||||
Convert position columns from box units to :math:`\mathrm{Mpc}`. `arr` is
|
||||
passed by reference and is not explicitly returned back.
|
||||
@ -352,7 +352,7 @@ def convert_position_cols(arr, cols, zero_centered=False):
|
||||
The mass columns to be converted.
|
||||
zero_centered : bool, optional
|
||||
Whether to translate the well-resolved origin in the centre of the
|
||||
simulation to the :math:`(0, 0 , 0)` point.
|
||||
simulation to the :math:`(0, 0 , 0)` point. By default `True`.
|
||||
|
||||
Returns
|
||||
-------
|
||||
|
Loading…
Reference in New Issue
Block a user