xAxisTs (pyleoclim.utils.lipdutils.xAxisTs)

pyleoclim.utils.lipdutils.xAxisTs(timeseries)[source]

Get the x-axis for the timeseries.

Parameters

timeseries (dict) – a timeseries object

Returns

  • x_axis (array) – the values for the x-axis representation

  • label (string) – returns either “age”, “year”, or “depth”