mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-12-22 12:48:02 +00:00
zero centre by default
This commit is contained in:
parent
b3c7d687b7
commit
d2c1f3294a
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue