<commit_before>/*
 *  SPGR.h
 *
 *  Copyright (c) 2018 <NAME>.
 *
 *  This Source Code Form is subject to the terms of the Mozilla Public
 *  License, v. 2.0. If a copy of the MPL was not distributed with this
 *  file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 *  SPGR / FLASH / FFE Sequences
 *
 */

#ifndef SEQUENCES_SPGR_H
#define SEQUENCES_SPGR_H

#include "SequenceBase.h"
#include "cereal/cereal.hpp"
#include "EigenCereal.h"

namespace QI {

struct SPGRBase : SequenceBase {
    Eigen::ArrayXd FA;
    size_t size() const override;
};

struct SPGRSequence : SPGRBase {
    double TR;
    
    QI_SEQUENCE_DECLARE(SPGR);
};

struct SPGREchoSequence : SPGRBase {
    double TR, TE;
    Eigen::ArrayXd FA;
    QI_SEQUENCE_DECLARE(SPGREcho);
};

struct SPGRFiniteSequence : SPGRBase {
    double TR, TE, Trf;
    Eigen::ArrayXd FA;
    QI_SEQUENCE_DECLARE(SPGRFinite);
};

} // End namespace QI

#endif // SEQUENCES_SPGR_H<commit_msg>BUG: Re-declared member variables causing size() errors<commit_after>/*
 *  SPGR.h
 *
 *  Copyright (c) 2018 <NAME>.
 *
 *  This Source Code Form is subject to the terms of the Mozilla Public
 *  License, v. 2.0. If a copy of the MPL was not distributed with this
 *  file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 *  SPGR / FLASH / FFE Sequences
 *
 */

#ifndef SEQUENCES_SPGR_H
#define SEQUENCES_SPGR_H

#include "SequenceBase.h"
#include "cereal/cereal.hpp"
#include "EigenCereal.h"

namespace QI {

struct SPGRBase : SequenceBase {
    Eigen::ArrayXd FA;
    size_t size() const override;
};

struct SPGRSequence : SPGRBase {
    double TR;
    QI_SEQUENCE_DECLARE(SPGR);
};

struct SPGREchoSequence : SPGRBase {
    double TR, TE;
    QI_SEQUENCE_DECLARE(SPGREcho);
};

struct SPGRFiniteSequence : SPGRBase {
    double TR, TE, Trf;
    QI_SEQUENCE_DECLARE(SPGRFinite);
};

} // End namespace QI

#endif // SEQUENCES_SPGR_H
{'fraction_non_alphanumeric': 0.10882197569994717, 'fraction_numerical': 0.008452192287374538, 'mean_word_length': 3.414918414918415, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1983282', 'n_tokens_mistral': 744, 'n_tokens_neox': 697, 'n_words': 191}