mirror of
https://github.com/Richard-Sti/csiborgtools_public.git
synced 2025-05-20 17:41:13 +00:00
Delete boring comments
This commit is contained in:
parent
692a50ee1a
commit
630c64cc11
1 changed files with 2 additions and 15 deletions
|
@ -33,13 +33,7 @@ class BaseField(ABC):
|
|||
|
||||
@property
|
||||
def box(self):
|
||||
"""
|
||||
Simulation box information and transformations.
|
||||
|
||||
Returns
|
||||
-------
|
||||
:py:class:`csiborgtools.units.CSiBORGBox`
|
||||
"""
|
||||
"""Simulation box information and transformations."""
|
||||
return self._box
|
||||
|
||||
@box.setter
|
||||
|
@ -52,13 +46,7 @@ class BaseField(ABC):
|
|||
|
||||
@property
|
||||
def MAS(self):
|
||||
"""
|
||||
Mass-assignment scheme.
|
||||
|
||||
Returns
|
||||
-------
|
||||
str
|
||||
"""
|
||||
"""Mass-assignment scheme."""
|
||||
if self._MAS is None:
|
||||
raise ValueError("`MAS` is not set.")
|
||||
return self._MAS
|
||||
|
@ -103,7 +91,6 @@ class DensityField(BaseField):
|
|||
Calculate the overdensity field from the density field.
|
||||
Defined as :math:`\rho/ <\rho> - 1`. Overwrites the input array.
|
||||
|
||||
|
||||
Parameters
|
||||
----------
|
||||
delta : 3-dimensional array of shape `(grid, grid, grid)`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue