Python IO 参考文档

1. numpy 读 ASCII 文本为numpy矩阵 1 2 3 4 5 6 7 8 9 import numpy as np try: c1 = np.loadtxt('data.txt') # 两列数据的文本 x, fx = np.loadtxt('data2.txt', unpack=True) except: print "problem reading data.txt data file" sys.exit(0) 2 读二进制到矩阵 1 2 3 4 import numpy as np # read

Matlab IO 参考文档

1. 读二进制数据 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 function [ out ] = readBin( str, sz , precision) %readBin read data generated by madagascar % % IN: % str: name of input data % sz: size of the input data % precision: precision of the input data % %

Ubuntu 20.04 安装 e1000e 有线网卡驱动

前言 首先确实是否安装了网卡驱动。 1 2 3 4 5 6 7 8 9 $ ifconfig lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 3549 bytes 283497 (283.4 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 3549 bytes 283497 (283.4 KB) TX

AxiSEM 模型转化为 Mineos

Why 在初次使用Mineos软件时,为保证自己操作流程的正确性,一般会与自己之前熟悉的 软件进行一个结果的对比,这就要求输入的模型一致,震源参数一