sphstat.plotting module
Functions for plotting data
plotmapping()maps the azimuth from [-pi,pi) to [0, 2 * pi]plotdata()plots the data in a given projectionplotdatalist()plots a number of samples
- sphstat.plotting.plotdata(sample: dict, proj: str = 'mollweide', mflag: bool = False) bool[source]
Plot a sample represented in polar (colat, long) format in Mollweide projection
- Parameters
sample (dict) – Sample in rad format (polar)
proj (str) – Projection type (either ‘mollweide’ or ‘lambert’)
mflag (bool) – Flag to plot the median and the 95% cone of confidence
- Returns
bool (True)
- sphstat.plotting.plotdatalist(samplelist: list, labels: Optional[list] = None, proj: str = 'mollweide', mflag: bool = False) bool[source]
Superimposed plot of a list of samples
- Parameters
samplelist (list) – List containing multiple samples
labels (list) – List of (string) labels e.g. [‘A’, ‘B’]
proj (str) – Projection type (either ‘mollweide’ or ‘lambert’)
mflag (bool) – Flag to plot the median and the 95% cone of confidence
- Returns
Return True when completed
- Return type
bool