I hereby claim:
- I am lelogrott on github.
- I am lelogrott (https://keybase.io/lelogrott) on keybase.
- I have a public key ASD1SpGanTkWvtM6xeAZr9ba4qlmCuSf99bBsImh0lZYsAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| {"lastUpload":"2020-06-04T18:09:57.938Z","extensionVersion":"v3.4.3"} |
| from __future__ import print_function | |
| import pickle | |
| import io | |
| import argparse | |
| import sys | |
| import os.path | |
| from pathlib import Path | |
| from googleapiclient.discovery import build | |
| from google_auth_oauthlib.flow import InstalledAppFlow | |
| from google.auth.transport.requests import Request |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import time | |
| def H(x): | |
| return 0.5 * (np.sign(x) + 1) | |
| def x(t): | |
| return ((-15/16 * np.sin(3/2 - 25 * t) - 5/7 * np.sin(16/11 - 23 * t) - 12/7 * np.sin(3/2 - 21 * t) - np.sin(14/9 - 19 * t) - 4/5 * np.sin(11/7 - 18 * t) - 7/5 * np.sin(3/2 - 17 * t) - 49/16 * np.sin(14/9 - 15 * t) - 7/5 * np.sin(11/7 - 14 * t) - 22/9 * np.sin(14/9 - 13 * t) - 7/4 * np.sin(14/9 - 12 * t) - 79/7 * np.sin(14/9 - 10 * t) - 47/8 * np.sin(17/11 - 8 * t) - 52/5 * np.sin(11/7 - 6 * t) - 108/5 * np.sin(11/7 - 5 * t) + 643/6 * np.sin(t + 11/7) + 431/18 * np.sin(2 * t + 11/7) + 111/5 * np.sin(3 * t + 8/5) + 179/8 * np.sin(4 * t + 8/5) + 152/17 * np.sin(7 * t + 8/5) + 5/6 * np.sin(9 * t + 7/4) + 22/9 * np.sin(11 * t + 13/8) + 1/18 * np.sin(16 * t + 12/7) + 2/5 * np.sin(20 * t + 14/3) + 18/17 * np.sin(22 * t + 5/3) + 1/8 * np.sin(24 * t + 33/16) - 64) * H(67 * np.pi - t) * H(t - 63 * np.pi) + (-1/2 * np.sin(3/2 - 24 * t) - 19/9 * np.sin(14/9 - 16 * t) - 6/11 * np.sin(10/7 - 15 * t) - |
| function filter_lines(line) | |
| !startswith(line,"#") && !isempty(line) | |
| end | |
| FILE_exported_functions = open(ARGS[1], "r") | |
| FILE_missing_docstrings = open(ARGS[2], "r") | |
| FILE_output = open("output", "w") | |
| exported_functions = readstring(FILE_exported_functions) | |
| missing_docstrings = readstring(FILE_missing_docstrings) |