Note
Click here to download the full example code
Age models#
This module shows how paleos expects to receive age models
An age model is simply a mapping between age and depth at a given location. Age models are expected to be described using pandas Series. For those unfamiliar with pandas, please see the documentation.
from pathlib import Path
import pandas as pd
Age models should be
data_path = Path("data")
age_model_path = data_path / "667.csv"
age_model_df = pd.read_csv(age_model_path, header=None)
print(age_model_df)
Out:
0 1
0 6.75 0.440
1 23.15 1.600
2 23.16 1.930
3 25.90 2.155
4 33.00 2.390
5 36.05 2.490
6 41.10 2.800
7 42.10 3.130
8 49.20 3.540
9 51.90 3.700
10 77.05 5.120
11 82.40 5.350
12 84.65 5.590
13 101.05 6.080
14 107.55 7.420
15 119.15 8.120
16 129.55 9.830
17 157.80 13.270
18 158.10 13.280
19 160.60 13.530
20 166.40 14.910
21 207.85 17.710
22 211.50 17.950
23 237.25 19.030
24 254.10 22.820
25 293.20 24.430
26 347.75 26.840
27 370.40 29.620
Total running time of the script: ( 0 minutes 0.169 seconds)