8.2.4. The Ramping Extension
Summary of the main classes of the Ramping extension.
8.2.4.1. The Extension
|
|
|
- class pymodaq.extensions.ramping.ramping.RampExtension(parent, dashboard)[source]
- Attributes:
- actuator
- actuators_name
- duration_units
Methods
Connect actions and/or other widgets signal to methods
do_things_after_experiment_set(experiment_name)do_things_after_ui_setup()populate_status_bar()Method where to create actions to be subclassed.
Mandatory method to be subclassed to setup the docks layout
setup_menus_and_toolbars([menubar])Non mandatory method to be subclassed in order to create a menubar
value_changed(param)Update the dependent settings when one of the settings is changed from the user interface
display_control_modules
get_ramp
q_from_param
update_duration
update_n_steps
update_ramp_settings
update_velocity
- setup_actions()[source]
Method where to create actions to be subclassed. Mandatory
See also
ActionManager.add_action
Non mandatory method to be subclassed in order to create a menubar
- value_changed(param)[source]
Update the dependent settings when one of the settings is changed from the user interface
Recomputes the number of steps and the duration or velocity of the ramp, and updates the units and the lists of modules when the ramping actuator is changed.
- Parameters:
param (
(Parameter) the parameter whose value just changed)
- class pymodaq.extensions.ramping.ramping.RampingWorker(ramper, parent=None)[source]
- Attributes:
- actuator
- actuators
- app
- detectors
- h5_browser
- histo_settings
- processor_worker
- ramp
- status_manager
Methods
connect_modules
disconnect_modules
go_to_ini_ramp
ini_things
run_plot_timer
run_ramp
send_data_to_saver
start_modules
stop_modules
update_histogramer
update_histogramer_settings
update_ramp
8.2.4.2. Ramp and data saving
8.2.4.3. Histogram
|
|
|
|
|
- class pymodaq.extensions.ramping.utilities.histograming.H5Histogramming(h5_manager, viewer, parent=None)[source]
- Attributes:
- data_loader
- histogram_processor
liveTrue while ramping: the histogram is computed by the ramping worker, not from here
Methods
Look at the arrays under current node for the minimal navigation size
get_selection(modules_type, available)Get the itemselect value of the detectors or actuators to plot, keeping the current selection
update_settings_from_file(file_path)Offline mode.
value_changed(param)get_actuator_dwa
get_actuators
get_data
get_detector_dte
get_detectors
get_main_nodes
get_set_bounds
update_control_modules
update_histogramer
- check_min_axis_size()[source]
Look at the arrays under current node for the minimal navigation size
- get_selection(modules_type, available)[source]
Get the itemselect value of the detectors or actuators to plot, keeping the current selection
- Parameters:
- Return type:
- Returns:
dict (
all_items are the available modules,selected the ones already selectedandstill available,plus the)ones that were not listed before (allofthem the first time)
- class pymodaq.extensions.ramping.utilities.histograming.HistogramProcessor(h5saver, parent=None)[source]
Methods
average_data_over_indexes(data, indexes[, ...])Return the average of data over the indexes
do_process_data(info)compute_histogram
nbins_signal
- static average_data_over_indexes(data, indexes, index_max=None)[source]
Return the average of data over the indexes
See: https://stackoverflow.com/questions/71329884/python-numpy-get-average-of-array-based-on-index