<commit_before>#!/bin/csh

set BIN_DIR = '../bin/'
set executable = $BIN_DIR/'angular_correlation'
set tag = 'GPU'

set ngals = 10 # In thousands (10 = 10k)
if ( $1 != '' ) then
    set ngals = $1
endif

set flat = '../sample_data/flat_'$ngals'k_arcmin.dat'
set data = '../sample_data/data_'$ngals'k_arcmin.dat'

################################################################################
# Read in data assuming arc minutes. (-m)
# Log binning (base e) (-l 1)
# Bin width of 0.05 (-w 0.05)
# Low-edge of 1st bin is 1 arg min. (-L 1.00)
################################################################################

set global_params = '-w 0.05 -L 1.00 -l 1 -m'

echo "\n#####################\n"
time $executable $data $data $global_params -o logbinning_"$tag"_"$ngals"k_data_data_arcmin.dat 
echo "\n#####################\n"
time $executable $flat $flat $global_params -o logbinning_"$tag"_"$ngals"k_flat_flat_arcmin.dat 
echo "\n#####################\n"
time $executable $data $flat $global_params -o logbinning_"$tag"_"$ngals"k_data_flat_arcmin.dat 
<commit_msg>Edited run_GPU_calculation.csh<commit_after>#!/bin/csh

set BIN_DIR = '../bin/'
set executable = $BIN_DIR/'angular_correlation'

set ngals = 10 # In thousands (10 = 10k)
if ( $1 != '' ) then
    set ngals = $1
endif

set flat = '../sample_data/flat_'$ngals'k_arcmin.dat'
set data = '../sample_data/data_'$ngals'k_arcmin.dat'

################################################################################
# Read in data assuming arc minutes. (-m)
# Even-spaced binning (-l 0)
# Bin width of 10.0 (-w 10.0)
# Low-edge of 1st bin is 1 arg min. (-L 1.00)
################################################################################
set global_params = '-w 10.0 -L 1.00 -l 0 -m'
set tag = 'evenbinning_GPU'

################################################################################
# Read in data assuming arc minutes. (-m)
# Log binning (base e) (-l 1)
# Bin width of 0.05 (-w 0.05)
# Low-edge of 1st bin is 1 arg min. (-L 1.00)
################################################################################
#set global_params = '-w 0.05 -L 1.00 -l 1 -m'
#set tag = 'logbinning_GPU'

################################################################################
# Read in data assuming arc minutes. (-m)
# Log10 binning (base 10) (-l 2)
# Bin width of 0.02 (-w 0.02)
# Low-edge of 1st bin is 1 arg min. (-L 1.00)
################################################################################
#set global_params = '-w 0.02 -L 1.00 -l 2 -m'
#set tag = 'log10binning_GPU'


echo "\n#####################\n"
time $executable $data $data $global_params -o "$tag"_"$ngals"k_data_data_arcmin.dat 
echo "\n#####################\n"
time $executable $flat $flat $global_params -o "$tag"_"$ngals"k_flat_flat_arcmin.dat 
echo "\n#####################\n"
time $executable $data $flat $global_params -o "$tag"_"$ngals"k_data_flat_arcmin.dat 

{'fraction_non_alphanumeric': 0.3838245373543523, 'fraction_numerical': 0.033584647018505824, 'mean_word_length': 5.08125, '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': '367203', 'n_tokens_mistral': 1036, 'n_tokens_neox': 925, 'n_words': 271}