<commit_before>#!/usr/bin/env python

"""Constants for monitor.py
"""

__author__ = '<NAME>'
__maintainer__ = '<NAME>'
__email__ = '<EMAIL>'
__status__ = 'Active'

__all__ = ['X_UNBINNED',
           'Y_UNBINNED', 
           'X_BINNING',
           'Y_BINNING',
           'XLEN',
           'YLEN',
           'X_VALID',
           'Y_VALID',
           'CCI_DIR',
           'MONITOR_DIR',
           'TEST_DIR',
           'WEBPAGE_DIR',
           'FUVA_string',
           'FUVB_string',
           'HVTAB',
           'MODAL_GAIN_LIMIT',
           'TIMESTAMP'
           ]

import os
import time
from datetime import datetime
import glob
import pyfits
import numpy as np

X_UNBINNED = 16384
Y_UNBINNED = 1024

X_BINNING = 8  # These values are believed to be optimal based on the
Y_BINNING = 2  # pore spacing of the detector

XLEN = X_UNBINNED // X_BINNING
YLEN = Y_UNBINNED // Y_BINNING

X_VALID = (0 // X_BINNING, 16384 // X_BINNING)
Y_VALID = (0 // Y_BINNING, 1024 // Y_BINNING)

#----Directory and File Constants
CCI_DIR = '/smov/cos/Data/CCI/' ## OPUS
#CCI_DIR = '/grp/hst/cos/Data/CumulativeImage/latest/' ## Dave


MONITOR_DIR = '/grp/hst/cos/Monitors/CCI/'
#MONITOR_DIR = '/grp/hst/cos/Monitors/CCI_DAVE/'
TEST_DIR = os.path.join( MONITOR_DIR, 'test_suite')
WEBPAGE_DIR = '/grp/webpages/COS/cci/'
<commit_msg>fixed wrong path for dave's CCIs.<commit_after>#!/usr/bin/env python

"""Constants for monitor.py
"""

__author__ = '<NAME>'
__maintainer__ = '<NAME>'
__email__ = '<EMAIL>'
__status__ = 'Active'

__all__ = ['X_UNBINNED',
           'Y_UNBINNED', 
           'X_BINNING',
           'Y_BINNING',
           'XLEN',
           'YLEN',
           'X_VALID',
           'Y_VALID',
           'CCI_DIR',
           'MONITOR_DIR',
           'TEST_DIR',
           'WEBPAGE_DIR',
           'FUVA_string',
           'FUVB_string',
           'HVTAB',
           'MODAL_GAIN_LIMIT',
           'TIMESTAMP'
           ]

import os
import time
from datetime import datetime
import glob
import pyfits
import numpy as np

X_UNBINNED = 16384
Y_UNBINNED = 1024

X_BINNING = 8  # These values are believed to be optimal based on the
Y_BINNING = 2  # pore spacing of the detector

XLEN = X_UNBINNED // X_BINNING
YLEN = Y_UNBINNED // Y_BINNING

X_VALID = (0 // X_BINNING, 16384 // X_BINNING)
Y_VALID = (0 // Y_BINNING, 1024 // Y_BINNING)

#----Directory and File Constants
CCI_DIR = '/smov/cos/Data/CCI/' ## OPUS
#CCI_DIR = '/grp/hst/cos/Data/CumulativeImage/latest/CCI/' ## Dave


MONITOR_DIR = '/grp/hst/cos/Monitors/CCI/'
#MONITOR_DIR = '/grp/hst/cos/Monitors/CCI_DAVE/'
TEST_DIR = os.path.join( MONITOR_DIR, 'test_suite')
WEBPAGE_DIR = '/grp/webpages/COS/cci/'

{'fraction_non_alphanumeric': 0.13340807174887892, 'fraction_numerical': 0.016442451420029897, 'mean_word_length': 2.405852417302799, '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}}
{'dir': 'git-commits-cleaned', 'id': '1141060', 'n_tokens_mistral': 1065, 'n_tokens_neox': 1039, 'n_words': 217}