<commit_before>#ifndef __mmSignal__
#define __mmSignal__

#include <cmath>
#include <armadillo>

#ifndef M_PI
#define M_PI 3.14159265358979323846264338328
#endif /* PI as defined in gsl */
#ifndef M_2PI
#define M_2PI 6.28318530717958647692528676656
#endif /* 2*PI */
#ifndef M_PI_2
#define M_PI_2 1.57079632679489661923
#endif /* pi/2 */

namespace MoMa {
namespace Signal {
        
float mean( arma::vec feature );
    
float min( arma::vec feature );
    
float max( arma::vec feature );
    
arma::vec thresh( arma::vec feature, float high, float low, float min=0.0f, float max=1.0f );
    <commit_msg>minor move of comments for clarity<commit_after>#ifndef __mmSignal__
#define __mmSignal__

#include <cmath>
#include <armadillo>

#ifndef M_PI /* PI as defined in gsl */
#define M_PI 3.14159265358979323846264338328
#endif
#ifndef M_2PI /* 2*PI */
#define M_2PI 6.28318530717958647692528676656
#endif
#ifndef M_PI_2 /* pi/2 */
#define M_PI_2 1.57079632679489661923
#endif

namespace MoMa {
namespace Signal {
        
float mean( arma::vec feature );
    
float min( arma::vec feature );
    
float max( arma::vec feature );
    
arma::vec thresh( arma::vec feature, float high, float low, float min=0.0f, float max=1.0f );
    
{'fraction_non_alphanumeric': 0.11192214111922141, 'fraction_numerical': 0.14760746147607462, 'mean_word_length': 4.184873949579832, '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': '4135160', 'n_tokens_mistral': 571, 'n_tokens_neox': 463, 'n_words': 127}