原创 centos 安裝GILDAS(Grenoble Image and Line Data Analysis System)

GILDAS is a collection of state-of-the-art software oriented toward (sub-)millimeter radioastronomical applications (ei

原创 分子譜線數據繪圖——matab

用了分子譜線數據,matlab畫圖與python的matplotlib庫函數是一樣的。%import data [x80,y80]=textread('Adata_cut/A8_158228-158680.txt'); [x81,y81]

原创 vim 常用命令

set number   顯示行數d  刪除行內容%d   刪除所有內容待更

原创 linux 常用命令

1、掛載u盤mount dervice dir fdisk -l mkdir /mnt/diskd mount /dev/sda* /mnt/diskd umount /dev/sda5 df2、yum install       wge

原创 python unexpected indent 問題

代碼 import matplotlib.pyplot as plt import numpy as np filename='E:\1Documents\pmodlh\antenna and instrument\20170627-2

原创 texlive安裝及基本使用

下載latex鏡像文件(清華大學開源軟件鏡像站):官網下載 install-tl-unx.tar.gz:http://www.tug.org/texlive/acquire-netinstall.html 解壓後:sudo ./insta

原创 科普

嗯,csdn另類奇葩,寫點blog吧 今晚,剛剛有人來臺上參觀,我負責科普望遠鏡,其實我一點也不懂這玩意兒。小孩的問題簡單但比專業知識更難回答。 note: 1、星座 2、亮:恆星與行星(金星 木星 水星 火星 土星) 3、科普望遠鏡原理

原创 近期任務

1、c++調用python腳本 生成數組 運算 2、 (1)3溫度隨時間變化圖,數據分析 (2)截取連續圖中部分數據 (3)網頁爬蟲,數據庫鏈接 (4)數據問題 回查 提高效率       3、喲,今天突然發現在origin上畫圖 多組數

原创 c/c++ note

此次需要解決c/c++調用python腳本和函數的問題,特做此筆記。 簡單調用low level:PyRun_SimpleString("print 'Hello World'") high level: 導入python模塊 p_nam

原创 win7 配置c開發環境

MinGW code blocks  https://www.jianshu.com/p/e9ff7b654c4a https://blog.csdn.net/hnzcdy/article/details/53027832

原创 centos 安裝虛擬機+win7

添加 virtulbox源 cd /etc/yum.repos.d wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo 添加rpmforge源(

原创 c 調用Python腳本和函數

1.py import numpy as np def data(): # matrix=np.arange(1,100) matrix=[[0,1,2,3],[1,1,1,1]] print matrix 1.cpp #incl

原创 anaconda + jupter notebook

可用:1、ipython2、#spyder3、jupyter notebookjupter notebook1、run: shift+enter2、網頁版terminal

原创 class 命令收藏

class file in qhz.14m$ls list當前目錄下的文件$pwdfile in \/home/luoluo/class/qhz.14m 打開文件dev i w 打開白色的<GREG窗口dev i bfind //將數據調

原创 class 提取光譜數據

數據: APEX望遠鏡file in APEX.ave find /sou list find /sou I17220 list get f #s t 1 2 plot smooth smooth smooth