燃焼室圧の決定
空 気 ・ケ ロシ ン ジ ェ ッ トバ ー ナ ー 諸 元 の 決 定 方 法*
― 空 気 ・ケ ロ シ ン ジ ェ ッ トバ ー ナ ー の 開 発 設 計 に 関 す る研 究(第2報)―
NASA CEAの解析スクリプト
import matplotlib.pyplot as plt import pandas as pd file = open('output.txt').read() outputs = file.split('THEORETICAL') outputs = outputs[1:] df = pd.DataFrame() for output in outputs: dic = {} Pin = output.split('Pin =')[1].split('PSIA')[0].strip() O_F = output.split('O/F=')[1].split('%FUEL')[0].strip() Isp = output.split('Isp, M/SEC')[1].split('MASS')[0].strip() dic['Pin'] = float(Pin) dic['O_F'] = float(O_F) dic['Isp'] = float(Isp) df1 = pd.DataFrame(dic, index=[0]) df = pd.concat([df, df1], ignore_index=True) Pins = list(df['Pin'].unique()) colors = ['o-r','o-b','o-k'] cnt = 0 for Pin in Pins: color = colors[cnt] val = df[df['Pin']==Pin] plt.plot(val['O_F'],val['Isp'],color) cnt += 1 plt.legend([str(Pin)+'(psia)' for Pin in Pins]) plt.xlabel('O/F ratio') plt.ylabel('Isp') plt.show()
ffmpegで複数の.mp4ファイルを結合する
$ ffmpeg -f concat -safe 0 -i merge.txt -c copy out.mp4
merge.txt
file intro.mp4 file 1.mp4 file 2.mp4 file 3.mp4
GoPro Hero9の蛍光灯のちらつきを抑える
- Preferences>General>Auto Flickerで周波数を50Hzに設定
- 撮影の解像度を1080, 50FPSに変更
Auto flickering60Hzだとちらつきが大きすぎた
Auto flickering50Hzでも、24FPSだとちらつきが大きい
ただしまだちらつき、というかゆっくりスクロールするような縞が発生する。
youtu.be
以下の動画でシャッタースピードについて触れられていた。
www.youtube.com
シャッタースピードをAutoから1/50に設定したら縞が消えた。無事に解決。
M1 MacにPyQt5をインストール
$ brew install pyqt@5 $ python3 -m pip install pyqt5