pynrc.simul.ngNRC.gen_wfe_drift¶
- pynrc.simul.ngNRC.gen_wfe_drift(obs_input, case='BOL', iec_period=300, slew_init=10, rand_seed=None, t0_offset=False, plot=False, figname=None)[source]¶
Create WFE drift information over time
- Parameters
obs_input (DMS_input class) – Class to generate a series of observation dictionaries in order to build DMS-like files. Loads APT files to generate the necessary observation information.
case (string) – Either “BOL” for current best estimate at beginning of life, or “EOL” for more conservative prediction at end of life.
iec_period (float) – IEC heater switching period in seconds.
slew_init (float) – Assumed slew difference relative to previous program
rand_seed (None or int) – Seed value to initialize random number generator to obtain repeatable values.
t0_offset (bool) – Shift delta WFE drift values to 0 at time t=0 (beginning of program)? If set to False, then relative drift values correspond to beginning of the previous randomly-generated program.
plot (bool) – Create a plot of the slew angles and associated RMS drift components.
figname (string) – Output name (path) to save plot figure.