MTgeophysics / mtpy

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

edi to zmm #149

Open kashkoulimohammad opened 3 years ago

kashkoulimohammad commented 3 years ago

Dear All,

As mentioned in the MTpy paper abstract, MTpy can convert edi format to zmm, but I couldn't find script about that. Does anyone help me about it?

Best regards, Mohammad

kujaku11 commented 2 years ago

@kashkoulimohammad This has not been implemented yet in mtpy. However, I have been developing this capability in mt_metadata. You can install it with pip or conda-forge. You should be able to convert using something like:

from mt_metadata.transfer_function.core import TF

t = TF.read_tf_file(r"path/to/tf_file")
t.write_tf_file(file_type="zmm")

Hasn't been fully tested yet, so it might not work on the first go.