Skip to content

Commit b89d933

Browse files
committed
Changes
1 parent 6125bdb commit b89d933

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

deepexo/main.py

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33

44
import mdn
55
import joblib
6-
6+
from numpy.typing import ArrayLike
77
class RockyPlanet:
8-
def predict(self, ):
8+
def predict(self, planet_params: ArrayLike):
9+
"""
10+
Args:
11+
Array of floats of the planet parameters
12+
in the following order: [M, R, k2].
13+
The following input ranges are supported:
14+
M: 0.1 < M [M_earth] < 30
15+
R: 0.1 < R [R_earth] < 30
16+
k2: 0 < k2 < 0.5
17+
Returns:
18+
19+
"""
20+

0 commit comments

Comments
 (0)