LOST
0.0.1
LOST: Open-source Star Tracker
database-options.hpp
Go to the documentation of this file.
1
// see pipeline-options.hpp for more information
2
3
#include <string>
4
#include "
decimal.hpp
"
5
6
LOST_CLI_OPTION
(
"min-mag"
,
decimal
, minMag , 100 ,
STR_TO_DECIMAL
(optarg) ,
kNoDefaultArgument
)
7
LOST_CLI_OPTION
(
"max-stars"
,
int
, maxStars , 10000 , atoi(optarg) ,
kNoDefaultArgument
)
8
LOST_CLI_OPTION
(
"min-separation"
,
decimal
, minSeparation , 0.08 ,
STR_TO_DECIMAL
(optarg) ,
kNoDefaultArgument
)
9
LOST_CLI_OPTION
(
"kvector"
,
bool
, kvector ,
false
,
atobool
(optarg),
true
)
10
LOST_CLI_OPTION
("kvector-min-distance" ,
decimal
, kvectorMinDistance , 0.5 ,
STR_TO_DECIMAL
(optarg) ,
kNoDefaultArgument
)
11
LOST_CLI_OPTION
("kvector-max-distance" ,
decimal
, kvectorMaxDistance , 15 ,
STR_TO_DECIMAL
(optarg) ,
kNoDefaultArgument
)
12
LOST_CLI_OPTION
("kvector-distance-bins" ,
long
, kvectorNumDistanceBins , 10000 , atol(optarg) ,
kNoDefaultArgument
)
13
LOST_CLI_OPTION
("swap-integer-endianness",
bool
, swapIntegerEndianness , false ,
atobool
(optarg), true)
14
LOST_CLI_OPTION
("swap-
decimal
-endianness",
bool
, swapDecimalEndianness , false ,
atobool
(optarg), true)
15
LOST_CLI_OPTION
("output" , std::
string
, outputPath , "-" , optarg ,
kNoDefaultArgument
)
decimal.hpp
decimal
double decimal
Definition:
decimal.hpp:11
STR_TO_DECIMAL
#define STR_TO_DECIMAL(x)
Definition:
decimal.hpp:12
LOST_CLI_OPTION
#define LOST_CLI_OPTION(name, type, prop, defaultVal, converter, defaultArg)
Definition:
io.hpp:288
lost::atobool
bool atobool(const char *cstr)
Convert string to boolean.
Definition:
main.cpp:107
lost::kNoDefaultArgument
const char kNoDefaultArgument
Definition:
io.hpp:32
src
database-options.hpp
Generated on Fri Aug 9 2024 05:12:54 for LOST by
1.9.1