<commit_before>import numpy as np
from datetime import datetime
from netcdf import netcdf as nc
import stats
from helpers import show
from models.core import rad2deg_ratio, deg2rad_ratio, gpu_exec
from models.core import SourceModule, ProcessingStrategy
import cpu


mod_getexcentricity = SourceModule(
    """
    __global__ void getexcentricity(float *gamma)
    {
        int it = threadIdx.x;
        int i2d = blockDim.x*blockIdx.x;
        int i3d = i2d + it;
        gamma[i3d] *= """ + deg2rad_ratio + """;
        gamma[i3d] = 1.000110 + 0.034221 * cos(gamma[i3d]) + \
            0.001280 * sin(gamma[i3d]) + \
            0.000719 * cos(2 * gamma[i3d]) + \
            0.000077 * sin(2 * gamma[i3d]);
    }<commit_msg>It fix a bug in the models/gpu.py.<commit_after>import numpy as np
from datetime import datetime
from netcdf import netcdf as nc
import stats
from helpers import show
from models.core import rad2deg_ratio, deg2rad_ratio, gpu_exec
from models.core import SourceModule
from models.cpu import CPUStrategy
import cpu


mod_getexcentricity = SourceModule(
    """
    __global__ void getexcentricity(float *gamma)
    {
        int it = threadIdx.x;
        int i2d = blockDim.x*blockIdx.x;
        int i3d = i2d + it;
        gamma[i3d] *= """ + deg2rad_ratio + """;
        gamma[i3d] = 1.000110 + 0.034221 * cos(gamma[i3d]) + \
            0.001280 * sin(gamma[i3d]) + \
            0.000719 * cos(2 * gamma[i3d]) + \
            0.000077 * sin(2 * gamma[i3d]);
    }
{'fraction_non_alphanumeric': 0.10910307898259705, 'fraction_numerical': 0.06559571619812583, 'mean_word_length': 2.6822660098522166, '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': '709683', 'n_tokens_mistral': 579, 'n_tokens_neox': 516, 'n_words': 135}