RotatingVectorModelOptions.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2013 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/General/Pulsar/RotatingVectorModelOptions.h
10 
11 #ifndef __Pulsar_RotatingVectorModelOptions_h
12 #define __Pulsar_RotatingVectorModelOptions_h
13 
14 #include "CommandLine.h"
15 #include "MEAL/RotatingVectorModel.h"
16 
17 namespace Pulsar {
18 
20  class RotatingVectorModelOptions
21  {
22  bool _set_fit;
24 
25  public:
26 
29 
31  void set_model (MEAL::RotatingVectorModel* model) { RVM = model; }
32 
34  void set_fit (bool fit) { _set_fit = fit; }
35 
38 
39  };
40 
41 }
42 
43 #endif
void use_impact(bool flag=true)
RotatingVectorModelOptions()
Default constructor.
Definition: RotatingVectorModelOptions.C:13
void set_fit(bool fit)
Set when model parameters will be varied to search for optimal values.
Definition: RotatingVectorModelOptions.h:44
void set_model(MEAL::RotatingVectorModel *model)
Set the model to be interfaced.
Definition: RotatingVectorModelOptions.h:41
virtual void add(Item *)
Defines the PSRCHIVE library.
Definition: CalSource.h:17
void add_options(CommandLine::Menu &)
Add options to the menu.
Definition: RotatingVectorModelOptions.C:24

Generated using doxygen 1.8.17