finesse.simulations.simulation.BaseSimulation.pre_build¶
- BaseSimulation.pre_build(self)¶
Pre-build performs some common setup routine that should be applicable to any deriving simulation class. This method performs the following tasks:
Checks if the signal frequency (fsig) is changing and if its value is None. If so, it sets a default value of 1 Hz.
Creates a list of all the changing parameters in the simulation.
Creates a set of tunable parameters from the changing parameters.
Determines if signal computation is required based on the value of fsig.f. Sets self.compute_signals
Determines if the simulation is modal or not. Sets self.is_modal
Initializes the model settings
Initializes the simulation configuration data.
Generates carrier frequencies based on the model.
Initializes the trace forest if the simulation is modal.
Determines the changing beam parameters if the simulation is modal.