diff options
author | hanemile <emile.hansmaennel@gmail.com> | 2017-12-12 20:30:32 +0100 |
---|---|---|
committer | hanemile <emile.hansmaennel@gmail.com> | 2017-12-12 20:30:32 +0100 |
commit | 216207aa5a1b3ca4cddfcb0f4e9c111b0bfac9a2 (patch) | |
tree | 9c74b8173abe93b63469e424bbd3e4dc3043d127 /langfassung/master.pyg | |
parent | 04158f3c86087ba8fe866c5209f0fa9db30d977c (diff) |
update pretty much everything
Diffstat (limited to 'langfassung/master.pyg')
-rw-r--r-- | langfassung/master.pyg | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/langfassung/master.pyg b/langfassung/master.pyg new file mode 100644 index 0000000..05dd500 --- /dev/null +++ b/langfassung/master.pyg @@ -0,0 +1,13 @@ +def rho_new(x, y, z): + a = (1 - ((1) / (2 * (sigma ** 2))) * ( Mxx * x**2 + 2 * Mxy * x * y + Myy * y**2 ) ) + return rho(x, y, z) * a + +# phi function +def phi(x): + if x == 0: + return -4 * pi * f_0 * G * R_s**2 + + a = - ( 4 * pi * G * f_0 * R_s ** 3 ) / x + b = np.log(1. + (x / R_s) ) + c = a * b + return c |