<jupyter_start><jupyter_text>Stacked image<jupyter_code>data_dir = '/Users/song/work/merian/raw/object_stacked/'
!ls /Users/song/work/merian/raw/object_stacked/ 
qaplot.visual_exposure(
    os.path.join(data_dir, 'c4d_210227_021029_ose_N708_v1.fits.fz'),
    fig_dir='/Users/song/Downloads/',
    dpi=100, contrast=0.8, cmap='coolwarm' 
)
exp_file = os.path.join(data_dir, 'c4d_210227_021029_osj_N708_v1.fits.fz')
fits.open(exp_file)[0].header
fits.open(exp_file)[2].header
len(exp_file)
exp_file = os.path.join(data_dir, 'c4d_210227_021029_osj_N708_v1.fits.fz')
_ = visual.display_single(fits.open(exp_file)[3].data)
exp_file = os.path.join(data_dir, 'c4d_210227_021029_osd_N708_v1.fits.fz')
fits.open(exp_file)[0].header<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.15558510638297873, 'fraction_numerical': 0.1023936170212766, 'mean_word_length': 7.184782608695652, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '110345', 'license': 'CC0-1.0', 'n_tokens_mistral': 405, 'n_tokens_neox': 349, 'n_words': 26, 'path': 'notebook/sandbox/merian_ccd_qa.ipynb', 'repo_name': 'dr-guangtou/caterpillar', 'size': '752'}