void print_settings(FILE *f) { fprintf(f,"# starting bin: %ld\n", freq_start); fprintf(f,"# stopping bin: %ld\n", freq_stop); print_window_settings(f, "first", &window1); print_window_settings(f, "frequency", &freq_window); print_window_settings(f, "second", &window2); if(overlap!=0)fprintf(f,"# overlap: %ld\n", overlap); print_suppress_lines(f); print_bypass_options(f); print_filter_settings(f); print_fake_data_settings(f); }
void print_settings(FILE *f) { fprintf(f,"# starting bin: %ld\n", freq_start); fprintf(f,"# stopping bin: %ld\n", freq_stop); fprintf(f, "# highpass filter N: %d\n", highpass_filter_order); fprintf(f, "# highpass filter F: %.*g\n", precision, highpass_filter_f); fprintf(f, "# highpass filter A: %.*g\n", precision, highpass_filter_a); fprintf(f, "# lowpass filter N: %d\n", lowpass_filter_order); fprintf(f, "# lowpass filter F: %.*g\n", precision, lowpass_filter_f); fprintf(f, "# lowpass filter A: %.*g\n", precision, lowpass_filter_a); print_window_settings(f, "first", &window1); print_fake_data_settings(f); }