def critical_perp_baseline(sensor_name, inc_angle=None, print_msg=False): """Critical Perpendicular Baseline for each satellite""" # Jers: 5.712e3 m (near_range=688849.0551m) # Alos: 6.331e3 m (near_range=842663.2917m) # Tsx : 8.053e3 m (near_range=634509.1271m) c = 299792458 # m/s, speed of light wvl = sensor.wavelength(sensor_name) # Yunjun 5/2016, case for Jers, need a automatic way to get this number near_range = 688849 rg_bandwidth = sensor.range_bandwidth(sensor_name) inc_angle = sensor.incidence_angle(sensor_name, inc_angle) / 180 * np.pi Bperp_c = wvl * (rg_bandwidth/c) * near_range * np.tan(inc_angle) if print_msg: print(('Critical Perpendicular Baseline: '+str(Bperp_c)+' m')) return Bperp_c
def critical_perp_baseline(sensor_name, inc_angle=None, print_msg=False): """Critical Perpendicular Baseline for each satellite""" # Jers: 5.712e3 m (near_range=688849.0551m) # Alos: 6.331e3 m (near_range=842663.2917m) # Tsx : 8.053e3 m (near_range=634509.1271m) c = 299792458 # m/s, speed of light wvl = sensor.wavelength(sensor_name) # Yunjun 5/2016, case for Jers, need a automatic way to get this number near_range = 688849 rg_bandwidth = sensor.range_bandwidth(sensor_name) inc_angle = sensor.incidence_angle(sensor_name, inc_angle) / 180 * np.pi Bperp_c = wvl * (rg_bandwidth / c) * near_range * np.tan(inc_angle) if print_msg: print(('Critical Perpendicular Baseline: ' + str(Bperp_c) + ' m')) return Bperp_c