checkXaxis (pyleoclim.utils.lipdutils.checkXaxis)¶
- pyleoclim.utils.lipdutils.checkXaxis(timeseries, x_axis=None)[source]¶
Check that a x-axis is present for the timeseries
- Parameters
timeseries (dict) – a timeseries
x_axis (string) – the x-axis representation, either depth, age or year
- Returns
x (array) – the values for the x-axis representation
label (string) – returns either “age”, “year”, or “depth”