<commit_before>========================
ql-snr-CAMERA-EXPID.json
========================

:Summary: This QA for QuickLook first includes the calculation of 
        signal-to-noise in the spectrum after sky subtraction. 
:Naming Convention: ``ql-snr-{ARM}{SPECTROGRAPH}-{EXPID}.json``, where 
        {ARM} is the 1-char arm name (r,b,z), {SPECTROGRAPH} indexes 
        CCDs 0-9 on that arm, and {EXPID} is the 8-digit exposure ID.  
        Together, {ARM}{SPECTROGRAPH} specify a {CAMERA}.
:Regex: ``ql-snr-[brz][0-9]-[0-9]{8}\.json``
:File Type:  JSON


Inputs
======

Written by qa_quicklook.py, with Calculate_SNR using:

- frame
- skymodel

Contents
========

========== ================ ===========================
KEYNAME    Type             Contents
========== ================ ===========================
SNR        Py dictionary    Spectral signal-to-noise
========== ================ ===========================



Dictionary Contents
===================

KEYNAME = SNR

Spectral signal-to-noise calculations per fiber and per CCD amp.

Keyword Description
~~~~~~~~~~~~~~~~~~~

=============== ================== ==========  =======================================
KEY              Example Value      Type        Comment
================ ================= ==========  =======================================
CAMERA           b4                string      b0-b9, r0-r9, z0-z9
EXPID            00003900          int         Exposure ID
FLAVOR           science           string      The type of exposure that can flat, arc or science 
PANAME           ApplyFiberFlat_QL string      Name of pipeline algorihm<commit_msg>Update qa-snr-CAMERA-EXPID.rst<commit_after>========================
ql-snr-CAMERA-EXPID.json
========================

:Summary: This QA for QuickLook first includes the calculation of 
        signal-to-noise in the spectrum after sky subtraction. 
:Naming Convention: ``ql-snr-{ARM}{SPECTROGRAPH}-{EXPID}.json``, where 
        {ARM} is the 1-char arm name (r,b,z), {SPECTROGRAPH} indexes 
        CCDs 0-9 on that arm, and {EXPID} is the 8-digit exposure ID.  
        Together, {ARM}{SPECTROGRAPH} specify a {CAMERA}.
:Regex: ``ql-snr-[brz][0-9]-[0-9]{8}\.json``
:File Type:  JSON


Inputs
======

Written by qa_quicklook.py, with Calculate_SNR using:

- frame
- skymodel

Contents
========

========== ================ ===========================
KEYNAME    Type             Contents
========== ================ ===========================
SNR        Py dictionary    Spectral signal-to-noise
========== ================ ===========================



Dictionary Contents
===================

KEYNAME = SNR

Spectral signal-to-noise calculations per fiber and per CCD amp.

Keyword Description
~~~~~~~~~~~~~~~~~~~

================ ================= ==========  =======================================
KEY              Example Value     Type        Comment
================ ================= ==========  =======================================
CAMERA           b4                string      b0-b9, r0-r9, z0-z9
EXPID            00003900          int         Exposure ID
FLAVOR           science           string      The type of exposure that can flat, arc or science 
PANAME           ApplyFiberFlat_QL string      Name of pipeline algorihm
{'fraction_non_alphanumeric': 0.3160463697376449, 'fraction_numerical': 0.01464307504575961, 'mean_word_length': 3.230967741935484, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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}}
{'dir': 'git-commits-cleaned', 'id': '2255314', 'n_tokens_mistral': 976, 'n_tokens_neox': 846, 'n_words': 246}