Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/kima/ApodizedRVmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,7 @@ string ApodizedRVmodel::description() const
void ApodizedRVmodel::save_setup() {
std::fstream fout("kima_model_setup.txt", std::ios::out);
fout << std::boolalpha << std::fixed;
fout.precision(15);

fout << "; " << timestamp() << endl << endl;

Expand Down
5 changes: 2 additions & 3 deletions src/kima/BINARIESmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,8 @@ string BINARIESmodel::description() const
*/
void BINARIESmodel::save_setup() {
std::fstream fout("kima_model_setup.txt", std::ios::out);
fout << std::boolalpha;
fout << std::boolalpha << std::fixed;
fout.precision(15);

fout << "; " << timestamp() << endl << endl;

Expand Down Expand Up @@ -1085,9 +1086,7 @@ void BINARIESmodel::save_setup() {
fout << f << ",";
fout << endl;

fout.precision(15);
fout << "M0_epoch: " << data.M0_epoch << endl;
fout.precision(6);

fout << endl;

Expand Down
5 changes: 2 additions & 3 deletions src/kima/ETVmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,8 @@ string ETVmodel::description() const
void ETVmodel::save_setup() {

std::fstream fout("kima_model_setup.txt", std::ios::out);
fout << std::boolalpha;
fout << std::boolalpha << std::fixed;
fout.precision(15);

fout << "; " << timestamp() << endl << endl;

Expand All @@ -445,8 +446,6 @@ void ETVmodel::save_setup() {
fout << "skip: " << data._skip << endl;


fout.precision(12);

fout << endl;

fout << "[priors.general]" << endl;
Expand Down
5 changes: 2 additions & 3 deletions src/kima/GAIAmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,8 @@ string GAIAmodel::description() const
*/
void GAIAmodel::save_setup() {
std::fstream fout("kima_model_setup.txt", std::ios::out);
fout << std::boolalpha;
fout << std::boolalpha << std::fixed;
fout.precision(15);

fout << "; " << timestamp() << endl << endl;

Expand All @@ -680,9 +681,7 @@ void GAIAmodel::save_setup() {
// fout << f << ",";
// fout << endl;

fout.precision(15);
fout << "M0_epoch: " << data.M0_epoch << endl;
fout.precision(6);

fout << endl;

Expand Down
5 changes: 2 additions & 3 deletions src/kima/GPmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,8 @@ string GPmodel::description() const
*/
void GPmodel::save_setup() {
std::fstream fout("kima_model_setup.txt", std::ios::out);
fout << std::boolalpha;
fout << std::boolalpha << std::fixed;
fout.precision(15);

fout << "; " << timestamp() << endl << endl;

Expand Down Expand Up @@ -1145,9 +1146,7 @@ void GPmodel::save_setup() {
fout << n << ",";
fout << endl;

fout.precision(15);
fout << "M0_epoch: " << data.M0_epoch << endl;
fout.precision(6);

fout << endl;

Expand Down
5 changes: 2 additions & 3 deletions src/kima/OutlierRVmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,8 @@ string OutlierRVmodel::description() const
*/
void OutlierRVmodel::save_setup() {
std::fstream fout("kima_model_setup.txt", std::ios::out);
fout << std::boolalpha;
fout << std::boolalpha << std::fixed;
fout.precision(15);

fout << "; " << timestamp() << endl << endl;

Expand Down Expand Up @@ -702,9 +703,7 @@ void OutlierRVmodel::save_setup() {
fout << f << ",";
fout << endl;

fout.precision(15);
fout << "M0_epoch: " << data.M0_epoch << endl;
fout.precision(6);

fout << endl;

Expand Down
5 changes: 2 additions & 3 deletions src/kima/RVFWHMRHKmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1324,7 +1324,8 @@ string RVFWHMRHKmodel::description() const

void RVFWHMRHKmodel::save_setup() {
std::fstream fout("kima_model_setup.txt", std::ios::out);
fout << std::boolalpha;
fout << std::boolalpha << std::fixed;
fout.precision(15);

fout << "; " << timestamp() << endl;

Expand Down Expand Up @@ -1364,9 +1365,7 @@ void RVFWHMRHKmodel::save_setup() {
fout << f << ",";
fout << endl;

fout.precision(15);
fout << "M0_epoch: " << data.M0_epoch << endl;
fout.precision(6);

fout << endl;

Expand Down
5 changes: 2 additions & 3 deletions src/kima/RVFWHMmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,8 @@ string RVFWHMmodel::description() const

void RVFWHMmodel::save_setup() {
std::fstream fout("kima_model_setup.txt", std::ios::out);
fout << std::boolalpha;
fout << std::boolalpha << std::fixed;
fout.precision(15);

fout << "; " << timestamp() << endl << endl;

Expand Down Expand Up @@ -1171,9 +1172,7 @@ void RVFWHMmodel::save_setup() {
fout << f << ",";
fout << endl;

fout.precision(15);
fout << "M0_epoch: " << data.M0_epoch << endl;
fout.precision(6);

fout << endl;

Expand Down
5 changes: 2 additions & 3 deletions src/kima/RVGAIAmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,8 @@ string RVGAIAmodel::description() const
*/
void RVGAIAmodel::save_setup() {
std::fstream fout("kima_model_setup.txt", std::ios::out);
fout << std::boolalpha;
fout << std::boolalpha << std::fixed;
fout.precision(15);

fout << "; " << timestamp() << endl << endl;

Expand Down Expand Up @@ -1081,9 +1082,7 @@ void RVGAIAmodel::save_setup() {
fout << f << ",";
fout << endl;

fout.precision(15);
fout << "M0_epoch: " << GAIA_data.M0_epoch << endl;
fout.precision(6);

fout << endl;

Expand Down
1 change: 1 addition & 0 deletions src/kima/RVHGPMmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,7 @@ string RVHGPMmodel::description() const
void RVHGPMmodel::save_setup() {
std::fstream fout("kima_model_setup.txt", std::ios::out);
fout << std::boolalpha << std::fixed;
fout.precision(15);

fout << "; " << timestamp() << endl << endl;

Expand Down
1 change: 1 addition & 0 deletions src/kima/RVmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,7 @@ string RVmodel::description() const
void RVmodel::save_setup() {
std::fstream fout("kima_model_setup.txt", std::ios::out);
fout << std::boolalpha << std::fixed;
fout.precision(15);

fout << "; " << timestamp() << endl << endl;

Expand Down
2 changes: 1 addition & 1 deletion src/kima/SPLEAFmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ string SPLEAFmodel::description() const
*/
void SPLEAFmodel::save_setup() {
std::fstream fout("kima_model_setup.txt", std::ios::out);
fout << std::boolalpha;
fout << std::boolalpha << std::fixed;
fout.precision(15);

fout << "; " << timestamp() << endl << endl;
Expand Down
5 changes: 2 additions & 3 deletions src/kima/TRANSITmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,8 @@ string TRANSITmodel::description() const
*/
void TRANSITmodel::save_setup() {
std::fstream fout("kima_model_setup.txt", std::ios::out);
fout << std::boolalpha;
fout << std::boolalpha << std::fixed;
fout.precision(15);

fout << "; " << timestamp() << endl << endl;

Expand Down Expand Up @@ -502,9 +503,7 @@ void TRANSITmodel::save_setup() {
fout << f << ",";
fout << endl;

fout.precision(15);
fout << "M0_epoch: " << data.M0_epoch << endl;
fout.precision(6);

fout << endl;

Expand Down
Loading