MapLocPicker

class paleokalmag.MapLocPicker(datasets, models=None, R=250.0, n=201)[source]

Bases: object

A class to analyze data distributions and models locally. Instantiating it will open a matplotlib figure with an interactive map, that shows the data distribution globally on a map and locally as time series. If models are provided, local time series of these will be shown.

Parameters:
  • datasets (Data, pandas.DataFrame or list) – One or multiple datasets to be shown. Works best with <= 3 datasets. The dataframe should have the typical paleokalmag keys.

  • models (pymagglobal.Model or list, optional) – One or multiple global models, that will be added to the time series plots.

  • R (float, optional) – The radius in km of a circle from which records are considered for local time series.

  • n (int, optional) – The resolution of the model time series. May be lower, if the datasets extend the valid model range.

Methods Summary

onclick(event)

plotLoc(loc)

Methods Documentation

onclick(event)[source]
plotLoc(loc)[source]