def main(argv=None):
if argv is None:
argv = sys.argv
parser = ArgumentParser('Compute E-field from B-field using 3-D transfer function model.',
formatter_class=ArgumentDefaultsHelpFormatter)
parser.add_argument('output_mat_fname',
type=str,
help='output, containing modeled E-field, in .mat format')
parser.add_argument('input_iaga2002_fname',
type=str,
help='input IAGA2002 magnetometer data file')
parser.add_argument('xml_fname',
type=str,
help='EM transfer function XML file')
args = parser.parse_args(argv[1:])
process(args.output_mat_fname,
args.input_iaga2002_fname,
args.xml_fname)
评论列表
文章目录