This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from math import pi | |
from matplotlib import pyplot as plt | |
import pandas as pd | |
import seaborn as sns | |
A = pi/4 * 0.8**2 # Diameter: 800 mm | |
speeds = list(range(60, 270, 10)) | |
altitudes = list(range(0, 45000, 1000)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Useful functions | |
function average(a, b) | |
return (a + b) / 2 | |
end | |
function get_x_y(radius, angle) | |
x = radius * cos(angle * (pi / 180)) | |
y = radius * sin(angle * (pi / 180)) | |
return x, y | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Probe: | |
required_string = ['type'] | |
string = ['probe_manufacturer', 'probe_serial_number', 'probe_tag', | |
'wedge_manufacturer', 'wedge_serial_number', 'wedge_tag'] | |
required_other = ['element_position', 'element_minor', 'element_major', | |
'element_shape', 'centre_frequency'] | |
other = ['element_radius_of_curvature', 'element_axis_of_curvature', | |
'wedge_surface_point', 'wedge_surface_normal', 'dead_element', | |
'bandwidth'] |
OlderNewer