<jupyter_start><jupyter_text>Inspect the incremental pixel counts<jupyter_code>import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
%config InlineBackend.figure_format = 'retina'
from astropy.io import fits
import astropy.visualization
from fast_histogram import histogram1d
from IPython.core.display import display, HTML
display(HTML("<style>.container { width:100% !important; }</style>"))
hdu_counts = fits.open('../data/FFI_counts/C101_FFI_mask.fits', memmap=True)
plt.figure(figsize=(14,14))
plt.imshow(hdu_counts['MOD.OUT 10.2'].data, interpolation='none', );<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.12183544303797468, 'fraction_numerical': 0.022151898734177215, 'mean_word_length': 7.915492957746479, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '260208', 'license': 'MIT', 'n_tokens_mistral': 230, 'n_tokens_neox': 215, 'n_words': 48, 'path': 'notebooks/02.02-Pixel-count-inspector.ipynb', 'repo_name': 'gully/ffi-motion', 'size': '632'}