Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plotting phase tensor residuals #178

Open
fsevim opened this issue Nov 10, 2022 · 0 comments
Open

plotting phase tensor residuals #178

fsevim opened this issue Nov 10, 2022 · 0 comments

Comments

@fsevim
Copy link

fsevim commented Nov 10, 2022

Dear all;

I get an error like below when i try to plot phase tensor residuals both as pseudo section and map.

TypeError: _read_ellipse_dict() missing 1 required positional argument: 'ellipse_dict'
I posted my script below.

import mtpy.imaging.mtplot as mtplot
import os
edipath1 = r"/home/user/mtpy/data/edifiles1"
edilist1 = [os.path.join(edipath1,edi) for edi in os.listdir(edipath1)
if edi.find('.edi')>0]
edipath2 = r"/home/user/mtpy/data/edifiles2"
edilist2 = [os.path.join(edipath2,edi) for edi in os.listdir(edipath2)
if edi.find('.edi')>0]
ptmap = mtplot.plot_residual_pt_maps(edilist1, edilist2,ellipse_dict={'size':1, 'cmap': 'mt_yl2rd',
'colorby': 'geometric_mean','range':(0,5)})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant