Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove injector settings options from all modules (optimizer needs to be separat... #67

Open
github-actions bot opened this issue Nov 19, 2022 · 0 comments
Labels
enhancement New feature or request todo

Comments

@github-actions
Copy link

beamsize function from model

# TODO: remove injector settings options from all modules (optimizer needs to be separate)

        self.verbose = True

        # injector settings (SOL, CQ, SQ) if optimizing
        # TODO: remove injector settings options from all modules (optimizer needs to be separate)
        self.inj_config = None
        if self.emit_calc_type == 'quadscan':
            # initial rough quad scan
            self.quad_init = [-6, -4, -2, 0]

        # pyemittance method options
        self.save_runs = False
        self.calc_bmag = False
        self.show_plots = True
        if self.emit_calc_type == 'quadscan':
            self.adapt_ranges = True
            self.num_points = 7
            self.check_sym = True
            self.infl_check = True
            self.add_pnts = True
            self.use_prev_meas = True
            self.quad_tol = 0.05

        # simulation/model options
        # beamsize function from model
@github-actions github-actions bot added the todo label Nov 19, 2022
@pluflou pluflou added the enhancement New feature or request label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request todo
Projects
None yet
Development

No branches or pull requests

1 participant