AFL.automation.EpicsADLiveProcess.FlaskApp#

Functions

clear_results()

create_access_token(identity[, fresh, ...])

Create a new access token.

get_jwt_identity()

In a protected endpoint, this will return the identity of the JWT that is accessing the endpoint.

jsonify(*args, **kwargs)

Serialize the given arguments as JSON, and return a Response object with the application/json mimetype.

jwt_required([optional, fresh, refresh, ...])

A decorator to protect a Flask endpoint with JSON Web Tokens.

login_test(fn)

mostrecent()

oned_plot()

raw_image()

reconfig_detector()

reconfig_integrator()

render_template(template_name_or_list, **context)

Render a template by name with the given context.

results()

send_array_as_jpg(array[, log_image, max_val])

send_file(path_or_file[, mimetype, ...])

Send the contents of a file to the client.

strtobool(val)

Convert a string representation of truth to true (1) or false (0).

threeup()

unwrapped_image()

Classes

AreaDetectorLive([basepv, cam, filewriter, ...])

Flask(import_name[, static_url_path, ...])

The flask object implements a WSGI application and acts as the central object.

JWTManager([app, add_context_processor])

An object used to hold JWT settings and callback functions for the Flask-JWT-Extended extension.

Markup([base, encoding, errors])

A string that is ready to be safely inserted into an HTML or XML document, either because it was escaped or because it was marked safe.

AFL.automation.EpicsADLiveProcess.FlaskApp.results()[source]#
AFL.automation.EpicsADLiveProcess.FlaskApp.clear_results()[source]#
AFL.automation.EpicsADLiveProcess.FlaskApp.raw_image()[source]#
AFL.automation.EpicsADLiveProcess.FlaskApp.unwrapped_image()[source]#
AFL.automation.EpicsADLiveProcess.FlaskApp.send_array_as_jpg(array, log_image=False, max_val=None)[source]#
AFL.automation.EpicsADLiveProcess.FlaskApp.oned_plot()[source]#
AFL.automation.EpicsADLiveProcess.FlaskApp.threeup()[source]#
AFL.automation.EpicsADLiveProcess.FlaskApp.mostrecent()[source]#
AFL.automation.EpicsADLiveProcess.FlaskApp.reconfig_integrator()[source]#
AFL.automation.EpicsADLiveProcess.FlaskApp.reconfig_detector()[source]#