<commit_before>#ifndef GLOBAL_H
#define GLOBAL_H

#include	<cstdlib>
#include	<cmath>
#include	<fstream>
#include	<sstream>
#include	<iostream>
#include	<iomanip>
#include	<string>
#include	<vector>
#include	<algorithm>
#include	<exception>
#include	<sys/time.h>
#include        "omp.h"
#include        "misc.h"
#include        "feat.h"
#include        "structs.h"

#ifdef FITS
#include        "fitsio.h"
#endif

// Collect -----------------------------------------------------------
// From the HTM tree, collects for each fiber and for each plate, the available galaxies
void collect_galaxies_for_all(const MTL& M, const htmTree<struct galaxy>& T, Plates& P, const PP& pp, const Feat& F);

// From the previous computations, computes the inverse map, that is to say, for each galaxy, computes the tile-fibers which can reach it<commit_msg>galaxy -> target<commit_after>#ifndef GLOBAL_H
#define GLOBAL_H

#include	<cstdlib>
#include	<cmath>
#include	<fstream>
#include	<sstream>
#include	<iostream>
#include	<iomanip>
#include	<string>
#include	<vector>
#include	<algorithm>
#include	<exception>
#include	<sys/time.h>
#include        "omp.h"
#include        "misc.h"
#include        "feat.h"
#include        "structs.h"

#ifdef FITS
#include        "fitsio.h"
#endif

// Collect -----------------------------------------------------------
// From the HTM tree, collects for each fiber and for each plate, the available galaxies
void collect_galaxies_for_all(const MTL& M, const htmTree<struct target>& T, Plates& P, const PP& pp, const Feat& F);

// From the previous computations, computes the inverse map, that is to say, for each target, computes the tile-fibers which can reach it
{'fraction_non_alphanumeric': 0.1768545994065282, 'fraction_numerical': 0.0, 'mean_word_length': 3.0142857142857142, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 28, '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': '50851', 'n_tokens_mistral': 554, 'n_tokens_neox': 541, 'n_words': 186}