Skip to content

plotting phase tensor residuals #178

@fsevim

Description

@fsevim

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)})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions