config_windows module¶
Defines the configuration parameters used by the Aconity, Machine and Cluster classes.
- LASER_ON (bool): Laser is enabled when True.
- JOB_NAME (str): Job name as displayed in the AconitySTUDIO web application.
- LAYERS (array of int): Layer range to be built, as [layer_min, layer_max].
- N_PARTS (int): Number of parts to be built (not regarding ignored parts).
- N_STATES (int): Number of low-dimensional states used for the processing of the raw pyrometer data.
- TEMPERATURE_TARGET (float): Temperature target in mV.
- N_PARTS_IGNORED (int): Number of additional parts to be built on top of N_PARTS (pyrometer may not record data for the first few parts).
- IGNORED_PARTS_SPEED (float): Scan speed used for parts being “ignored”.
- IGNORED_PARTS_POWER (float): Laser power used for parts being “ignored”.
- N_PARTS_FIXED_PARAMS (int): Number of parts built using fixed build parameters.
- FIXED_PARAMS (array): Parameters to be used for those parts being built with fixed build parameters, as [speed (m/s), power (W)]
- SLEEP_TIME_READING_FILES (float): Time between a sensor data file being first detected and attempting to read it. Prevents errors emerging from opening the file while it is still being written.
- PART_DELTA (int): Parts of interest may increase 1 by 1, or 3 by 3 (refer to the AconitySTUDIO web application).
-
config_windows.returnMachineCfg()¶ Return configuration parameters for the Machine class.
- comms: Configuration parameters for server communication.
- cluster_dir: Location of the code within the remote server.
- sftp: Configuration parameters for SFTP communication.
- host: Address of the remote server, i.e. scentrohpc.shef.ac.uk
- user: User name (login credentials).
- pwd: Password (login credentials).
- aconity: Machine parameters for the use of the Aconity API.
- info
- config_name: Configuration name, i.e. Unheated 3D Monitoring.
- job_name: Job name as displayed in the AconitySTUDIO web application.
- layers: Layer range to be bu- open_loop: Parameters used to build the parts built using fixed parameters, np.array with shape (n_fixed_parts, 2) as [layer_min, layer_max]
- n_parts: Number of parts to be built, excluding ignored parts.
- process: ConfiguLASER_ONration parameters for processing sensory data.
- sess_dir: Folder where pyrometer data is stored by the Aconity machine.
- sleep_t: Time between a sensor data file being first detected and attempting to read it. Prevents errors emerging from opening the file while it is still being written.
- debug_dir: Folder where to save information useful for debugging.
- ignored_parts_power: Scan speed used for parts being “ignored”.
- ignored_parts_speed: Laser power used for parts being “ignored”.
- part_delta: Parts of interest may increase 1 by 1, or 3 by 3 (refer to the AconitySTUDIO web application).
- fixed_params: Parameters used for those parts being built with fixed parameters, with shape (n_fixed_parts, 2)
Return shared configuration parameters.
- comms: Configuration parameters for server communication.
- dir: Directory where files and folders will be written.
- action
- rdy_name: Name of folder created to signal action data has been written.
- f_name: Name of .npy file containing the actions computed.
- state
- rdy_name: Name of folder created to signal state data has been uploaded.
- f_name: Name of .npy file containing the state vectors processed.
- env)]
- nS: Dimensionality of the state vector.
- n_parts: Number of parts to be built (not regarding ignored parts).
- horizon: MDP event horizon (number of timesteps = number of layers).
- n_ignore: Number of additional parts to be built on top of env.n_parts (pyrometer may not record data for the first few parts).
- ctrl_cfg
- ac_ub: Upper bounds of the build parameter in the form [speed (m/s), power (W)].
- ac_lb: Lower bounds of the build parameter in the form [speed (m/s), power (W)].