You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.3 KiB
Matlab

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

clear all;
close all;
clc;
I_dark = 100*1000; % 暗电流电子数单位e-/s
Fn = 1; % 噪声因子,无量纲
QE = 0.6; % 平均量子效率,无量纲
Gain = 2.0; % 增益系数,无量纲
Noise_read = 120; % 读出噪声单位e-
FWC = 120*1000; % 满阱电子数单位e-
ADC = 12; % 量化位数单位bit
Sensor_input = [I_dark,Fn,QE, Gain, Noise_read,FWC,ADC];
Lambda_center = 650; % 中心波长,单位nm
D_aperture = 1.2; % 光学系统口径单位m
GSD = 0.25; % 星下点分辨率单位m
H_orbit = 500; % 轨道高度单位km
Tao0 = 0.8; % 光学系统透过率,无量纲
Epslong = 0.15; % 光学系统面遮拦比,无量纲
Optic_input = [Lambda_center,D_aperture,GSD,H_orbit,Tao0,Epslong];
t_TDI = NaN; % 积分时间单位s可以不输入改输入积分级数M
M_TDI = 64; % 积分级数,无量纲,整数
T_imaging_input = [t_TDI,M_TDI];
Light_input = [4.35,13.36,55.7]; % 默认输入低端,典型,高端的辐射亮度
pho_input = imread('C:\Users\ASUS\Desktop\SNR_simulation\SNR_simulation.jpg');
pho_max = 0.8; % 最大反射率
pho_L_k = 71.46; % pho到辐射亮度L的斜率k
pho_L_b = 9.26; % pho到辐射亮度L的本底b
pho_L_infor = [pho_max,pho_L_k,pho_L_b];
site_str = 'C:\Users\ASUS\Desktop\SNR_simulation\\';
[SNR_output, mmm_pho_SNR, Picture_output] = SNR_simulation(Sensor_input,Optic_input,T_imaging_input,Light_input,pho_input,pho_L_infor,site_str);
mmm_pho_SNR(1,:)
mmm_pho_SNR(2,:)