five

Data for: Quantifying dynamic pressure and temperature conditions on fault asperities during earthquake slip

收藏
Mendeley Data2026-04-18 收录
下载链接:
https://data.mendeley.com/datasets/ytytnx5bkh
下载链接
链接失效反馈
官方服务:
资源简介:
# Raw data Raw Raman spectra for Maps 1-3 are provided. # Codes for replicating data presented Figure 2 b, c, d; 6 a, b; 7 a , b - Supporting Data > Python Codes > Data_treatment.ipynb Figure 8 a, b - Supporting Data > Matlab Codes > Fictivetempcalib.m Figure 8 c - Supporting Data > Matlab Codes > Coolingrates.m Supporting Data > Matlab Codes > fdheat1d.m Figure 9 a, b - Supporting Data > Matlab Codes > Fictive.m # Requirements Python code was tested with: - Python 3.7 - Scipy version 1.4.1 - matplotlib version 3.1.3 - numpy version 1.18.1 - pandas version 1.0.3 - rampy version 0.4.5 To run the code, install all the above dependencies (we recommend using Anaconda Python as it provides most of them bundled together), then using a terminal (best in Linux or Mac OS as we used Unix relative paths) and type: >>> python Data_treatment.py This runs the code and generates the figures, which are saved in ./Python Codes/figures/ . You will need to create this folder in the same directory that the python script is saved. Matlab code was run with Matlab 2018b.

# 原始数据 本次提供了Map 1至Map 3的原始拉曼光谱(Raman spectra)。 # 复现已展示数据的代码 图2b、c、d,图6a、b,图7a、b的复现代码位于:辅助数据(Supporting Data)> Python代码 > Data_treatment.ipynb 图8a、b的复现代码位于:辅助数据 > MATLAB(Matlab)代码 > Fictivetempcalib.m 图8c的复现代码包含:辅助数据 > MATLAB代码 > Coolingrates.m 以及 辅助数据 > MATLAB代码 > fdheat1d.m 图9a、b的复现代码位于:辅助数据 > MATLAB代码 > Fictive.m # 运行环境要求 本次测试所用Python代码的运行环境如下: - Python 3.7 - SciPy库版本1.4.1 - matplotlib库版本3.1.3 - NumPy库版本1.18.1 - pandas库版本1.0.3 - rampy库版本0.4.5 如需运行代码,请先安装上述所有依赖库(我们推荐使用Anaconda Python,因其已预装大部分依赖库),随后在终端中执行操作(建议使用Linux或Mac OS系统,因本次采用Unix相对路径),并运行以下命令: >>> python Data_treatment.py 运行该代码即可生成对应图表,生成的图表将保存至./Python Codes/figures/ 路径下。请确保在Python脚本所在的同级目录中预先创建该文件夹。 本次MATLAB代码的运行环境为MATLAB 2018b。
创建时间:
2020-12-11
二维码
社区交流群
二维码
科研交流群
商业服务