<commit_before>function setup(){
    var i, nodes,
        HPGeSwitch = document.getElementById('enableHPGe'),
        LaBr3Switch = document.getElementById('enableLaBr3'),
        SiLiSwitch = document.getElementById('enableSiLi');

    //call the parameter dump
    loadParameters();
    loadLaBrParameters();
    loadSCEPTARParameters();
    //SiLi parameters taken from presentation by <NAME>, simulations from Ma & Wang
    //last parameter is an overall normalization to fix eff(603keV) = 0.0342, per
    //Masters Thesis of <NAME>, University of Guelph, 2012, 
    //High-precision branching ratio measurement for the superallowed beta+ emitter 74Rb
    SiLiCoef = {};
    SiLiCoef['detector'] = [71.131, 7.97308, -0.474268, -0.00120224, 1.40317, .0342/104.30174050118521];

    //Set up color codes
    colorCodes = {};
    colorCodes['HPGe'] = '#449944';
    colorCodes['LaBr3'] = '#e67e22';
    colorCodes['SiLi'] = '#2980b9';
    colorCodes['DESCANT'] = '#8e44ad';
    colorCodes['SCEPTAR'] = '#c0392b';
    colorCodes['SCEPTARZDS'] = '#c0392b';
    colorCodes['SCEPTARPACES'] = '#c0392b';
    colorCodes['PACESZDS'] = '#f1c40f';

    //set up gamma control panel//////////////////////////////////////
    HPGeSwitch.onchange = function(event){
        toggleHPGeControls();
        chooseGraphs();
    }
    LaBr3Switch.onchange = function(event){
        chooseGraphs();
    }
    SiLiSwitch.onchange = function(event){
        chooseGraphs();<commit_msg>PACES absolute efficiency changed from 0.0342 (measured in 2012) to 0.02 (measured consistenly in 2018/2019 beamtimes)<commit_after>function setup(){
    var i, nodes,
        HPGeSwitch = document.getElementById('enableHPGe'),
        LaBr3Switch = document.getElementById('enableLaBr3'),
        SiLiSwitch = document.getElementById('enableSiLi');

    //call the parameter dump
    loadParameters();
    loadLaBrParameters();
    loadSCEPTARParameters();
    //SiLi parameters taken from presentation by <NAME>, simulations from Ma & Wang
    //last parameter is an overall normalization to fix eff(603keV) = 0.0342, per
    //Masters Thesis of <NAME>, University of Guelph, 2012, 
    //High-precision branching ratio measurement for the superallowed beta+ emitter 74Rb
    //////////
    //Change in Aug 2020. The absolute efficiency of PACES has been measured consistently to be ~2% in 2018/2019 beamtimes.
    SiLiCoef = {};
    //SiLiCoef['detector'] = [71.131, 7.97308, -0.474268, -0.00120224, 1.40317, .0342/104.30174050118521];
    SiLiCoef['detector'] = [71.131, 7.97308, -0.474268, -0.00120224, 1.40317, .02/104.30174050118521];

    //Set up color codes
    colorCodes = {};
    colorCodes['HPGe'] = '#449944';
    colorCodes['LaBr3'] = '#e67e22';
    colorCodes['SiLi'] = '#2980b9';
    colorCodes['DESCANT'] = '#8e44ad';
    colorCodes['SCEPTAR'] = '#c0392b';
    colorCodes['SCEPTARZDS'] = '#c0392b';
    colorCodes['SCEPTARPACES'] = '#c0392b';
    colorCodes['PACESZDS'] = '#f1c40f';

    //set up gamma control panel//////////////////////////////////////
    HPGeSwitch.onchange = function(event){
        toggleHPGeControls();
        chooseGraphs();
    }
    LaBr3Switch.onchange = function(event){
        chooseGraphs();
    }
    SiLiSwitch.onchange = function(event){
        chooseGraphs();
{'fraction_non_alphanumeric': 0.1598173515981735, 'fraction_numerical': 0.0898021308980213, 'mean_word_length': 3.05679012345679, '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}}
{'dir': 'git-commits-cleaned', 'id': '3287229', 'n_tokens_mistral': 1222, 'n_tokens_neox': 1043, 'n_words': 244}