MTgeophysics / mtpy

Python toolbox for standard Magnetotelluric (MT) data analysis
GNU General Public License v3.0
147 stars 66 forks source link

V2: plot_pseudosection if already in a line #174

Open kujaku11 opened 1 year ago

kujaku11 commented 1 year ago

When trying to plot a pseudo section of a profile that has either all the same x or all the same y, the linear regression fails. Should add logic to check for the same x and/or y to skip linear regression.