10 2023 档案

摘要:第2章-插值 插值多项式的存在唯一性:对于(xi,yi),i=0..n,次数不大于n的插值多项式是唯一的。 2.1 拉格朗日插值 Lagrange多项式 条件:无重合节点,即ij,xixj \[L_n(x) = \sum_{i=0}^n l_i( 阅读全文
posted @ 2023-10-31 22:53 码鸽 阅读(91) 评论(0) 推荐(0) 编辑
摘要:numpy.tile的作用 import numpy as np # 重复一个标量值 scalar = 5 result1 = np.tile(scalar, 3) print(result1) # 输出:[5, 5, 5] # 重复一个数组 arr = [1, 2, 3] result2 = np 阅读全文
posted @ 2023-10-23 21:25 码鸽 阅读(11) 评论(0) 推荐(0) 编辑
摘要:报错: TypeError: scatterplot() takes from 0 to 1 positional arguments but 2 were given 问题: 我猜出这个报错的都是这么写的: x_data = [1,2,3] y_data = [4,5,6] sns.scatter 阅读全文
posted @ 2023-10-22 14:58 码鸽 阅读(226) 评论(0) 推荐(0) 编辑
摘要:ping -a <ip>:ping成功时发出声音 ping -i 3 <ip>:每3秒ping一次 ping -c 3 <ip>:一共ping3次 ping -q <ip>:ping完不输出消息 阅读全文
posted @ 2023-10-19 17:14 码鸽 阅读(28) 评论(0) 推荐(0) 编辑
摘要:remarkable (CDN标签链接)[https://cdnjs.com/libraries/remarkable] <script src="https://cdnjs.cloudflare.com/ajax/libs/remarkable/2.0.1/remarkable.js"></scr 阅读全文
posted @ 2023-10-18 21:57 码鸽 阅读(284) 评论(0) 推荐(0) 编辑
摘要:命令行启动flask应用 Linux: (假设hello.py是服务器脚本) exportFLASKAPP=hello.py flask run --host=0.0.0.0 Windows cmd: set FLASK_APP=server.py flask run --host=0. 阅读全文
posted @ 2023-10-14 19:59 码鸽 阅读(10) 评论(0) 推荐(0) 编辑
摘要:关于nii文件格式的链接 SPM data structures:介绍了关于nii格式的一些详细信息,基于SPM。 SPM Tutorial #3: Looking at the Data:介绍了在SPM中以图片形式查看nii图像的方法。 SPM/Working with 4D data:介绍了在如 阅读全文
posted @ 2023-10-12 22:21 码鸽 阅读(107) 评论(0) 推荐(0) 编辑
摘要:1. 虚拟环境的建立 python -m venv <虚拟环境名> # 例如: python -m venv my_venv 2. 虚拟环境的激活与去激活 激活 cd 到虚拟环境文件夹下的Scripts,在终端执行activate 去激活 cd 到虚拟环境文件夹下的Scripts,在终端执行deac 阅读全文
posted @ 2023-10-07 10:38 码鸽 阅读(13) 评论(0) 推荐(0) 编辑
摘要:# 【Linux笔记】tar——压缩与解压 打包与压缩 打包文件(生成新的tar文件): tar -cf newTar.tar file.txt 打包并压缩文件(生成新的.tar.gz文件): tar -zcf newTar.tar.gz file.txt 注:打包和压缩是不一样的概念 gzip这种 阅读全文
posted @ 2023-10-05 16:54 码鸽 阅读(216) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示