<jupyter_start><jupyter_text>(8) Assess Mock Recoveries So, now we've run through an initial injection/recovery exercise, we need to assess the outcomes.  I've made these available in a simple ASCII file in the repository (if you pull from github, you should now have it): 'SR4_continuum_CPDrecoveries.txt'.  Here's how you would load its contents:<jupyter_code>import os, sys, time
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline

# load recoveries contents
rfile = 'SR4_continuum_CPDrecoveries.txt'
Fi, Fo, mdl, ri, ro, azi, azo, SNR = np.loadtxt(rfile).T

""" 
Variables:
    Fi = input CPD flux (in microJy)
    Fo = recovered CPD flux (in microJy)
    mdl = a model identification number
    ri = input CPD radial location (in arcseconds)
    ro = recovered CPD radial location (in arcseconds)
    azi = input CPD azimuthal location (in degrees)
    azo = recovered CPD radial location (in degrees)
    SNR = signal-to-noise ratio for recovered signal
"""<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.07707509881422925, 'fraction_numerical': 0.0029644268774703555, 'mean_word_length': 4.388297872340425, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '564292', 'license': 'MIT', 'n_tokens_mistral': 327, 'n_tokens_neox': 313, 'n_words': 129, 'path': 'notebooks/Part8_AssessMocks.ipynb', 'repo_name': 'seanandrews/DSHARP_CPDs', 'size': '1012'}