Commit e1141681 authored by Daniel Brown's avatar Daniel Brown

setting defaults

parent c089a394
......@@ -1745,6 +1745,7 @@ void read_mirror(const char *command_string, int mode) {
mirror->knm_change_q = DEFAULT_KNM_CHANGE_Q;
mirror->knm_force_saved = 0;
mirror->map_amplitude = 1;
// default to integrating aperture until analytic version put in
mirror->knm_flags |= INT_APERTURE;
......@@ -10589,8 +10590,8 @@ int assign_mirror_parameter(component_param_t *component_param) {
mirror->rebuild = 1;
inter.rebuild |= 1;
strcpy(component_param->unit, " [real]");
*component_param->lborder = -1;
*component_param->uborder = 1;
*component_param->lborder = 0;
*component_param->uborder = 0;
} else if (strcasecmp("dither_f", component_param->parameter) == 0) {
*component_param->xparam = &(mirror->dither_f);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment