<jupyter_start><jupyter_text>Test the functions in gwTools.py Sort of following the Mathematica notebooks JustStrainPlots.nb and GWExopSNR.nb, which were intended to be somewhat abbreviated notebooks getting at the results.<jupyter_code>import numpy as np
import urllib as ul
import gwTools as gwt
import pandas as pd
import matplotlib.pyplot as plt
%matplotlib inline<jupyter_output><empty_output><jupyter_text>Check the gwtools.py coding of g(n,e).<jupyter_code>gwt.ggSimp(3, 0.7)
gwt.ggSimp(0.2, 0.7)
ee = 0.7
xx = np.arange(1, 40, 1)
yy = gwt.ggSimp(xx, ee)
plt.plot(xx, yy, 'k-')
y2 = gwt.ggPM(xx, ee)
plt.plot(xx,y2, 'b:')
ee = 0.95
xx = np.arange(1, 400, 1)
yy = gwt.ggSimp(xx, ee)
plt.plot(xx, yy, 'k-')
y2 = gwt.ggAS(xx, ee)
plt.plot(xx,y2, 'b:')
aa = np.array([1,2,3])
[type(aa), type([1,2,3]), type(1.23), type(12) ]
hasattr(aa, 'all')
bb = 12
hasattr(bb, 'all')
np.power(2,1/2)
gwt.chirpM(1.2, 3.4)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.16702127659574467, 'fraction_numerical': 0.047872340425531915, 'mean_word_length': 5.358108108108108, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '649992', 'license': 'MIT', 'n_tokens_mistral': 461, 'n_tokens_neox': 437, 'n_words': 104, 'path': 'python/TestGwTools.ipynb', 'repo_name': 'kellyhb/LISAexoplanets', 'size': '940'}