The Virtual Brain Project

Table Of Contents

Previous topic

project Package

Next topic

controllers Package

This Page

web Package

request_handler

class tvb.interfaces.web.request_handler.RequestHandler[source]

Bases: builtins.object

This class contains different methods that can be used to enhance request processing. They are called at different moments depending the way they were registered in cherrypy configuration.

static check_upload_size()[source]

This method checks if the uploaded content exceeds a given size

static clean_files_on_disk()[source]

This method is executed at the end of a request and checks if there is any file which should be deleted on disk.

run

Launches the web server and configure the controllers for UI.

tvb.interfaces.web.run.init_cherrypy(arguments=None)[source]
tvb.interfaces.web.run.start_tvb(arguments, browser=True)[source]

Fire CherryPy server and listen on a free port

structure

class tvb.interfaces.web.structure.WebStructure[source]

Bases: builtins.object

ANALYZERS_ONLINE_HELP_SHORTCUTS = {'crosscorr': 'cross-correlation-of-nodes', 'ccpearson': 'pearson-correlation-coefficient', 'coherence': 'cross-coherence-of-nodes', 'complexcoherence': 'complex-coherence-of-nodes', 'covariance': 'temporal-covariance-of-nodes', 'components': 'principal-component-analysis-pca', 'fourier': 'fourier-spectral-analysis', 'ica': 'independent-component-analysis-ica', 'timeseries': 'timeseries-metrics', 'wavelet': 'continuous-wavelet-transform-cwt', 'balloon': 'model-balloon', 'bct': 'brain-connectivity-toolbox-analyzers', 'bctcentrality': 'brain-connectivity-toolbox-analyzers', 'bctclustering': 'brain-connectivity-toolbox-analyzers', 'bctdegree': 'brain-connectivity-toolbox-analyzers', 'bctdensity': 'brain-connectivity-toolbox-analyzers', 'bctdistance': 'brain-connectivity-toolbox-analyzers', 'fcd_calculator': 'functional-connectivity-dynamics-metric'}
SECTION_ANALYZE = 'analyze'
SECTION_BURST = 'burst'
SECTION_CONNECTIVITY = 'connectivity'
SECTION_PROJECT = 'project'
SECTION_STIMULUS = 'stimulus'
SECTION_USER = 'user'
SUB_SECTION_ACCOUNT = 'account'
SUB_SECTION_ALLEN = 'allen'
SUB_SECTION_ANALYZE_1 = 'crosscorr'
SUB_SECTION_ANALYZE_10 = 'wavelet'
SUB_SECTION_ANALYZE_11 = 'balloon'
SUB_SECTION_ANALYZE_12 = 'bct'
SUB_SECTION_ANALYZE_13 = 'bctcentrality'
SUB_SECTION_ANALYZE_14 = 'bctclustering'
SUB_SECTION_ANALYZE_15 = 'bctdegree'
SUB_SECTION_ANALYZE_16 = 'bctdensity'
SUB_SECTION_ANALYZE_17 = 'bctdistance'
SUB_SECTION_ANALYZE_18 = 'fcd_calculator'
SUB_SECTION_ANALYZE_2 = 'ccpearson'
SUB_SECTION_ANALYZE_3 = 'coherence'
SUB_SECTION_ANALYZE_4 = 'complexcoherence'
SUB_SECTION_ANALYZE_5 = 'covariance'
SUB_SECTION_ANALYZE_6 = 'components'
SUB_SECTION_ANALYZE_7 = 'fourier'
SUB_SECTION_ANALYZE_8 = 'ica'
SUB_SECTION_ANALYZE_9 = 'timeseries'
SUB_SECTION_ANALYZE_MENU = 'analyze'
SUB_SECTION_BURST = 'burst'
SUB_SECTION_CONNECTIVITY = 'connectivity'
SUB_SECTION_CONNECTIVITY_MENU = 'step'
SUB_SECTION_DATA_STRUCTURE = 'data'
SUB_SECTION_FIGURES = 'figures'
SUB_SECTION_LIST_PROJECTS = 'list'
SUB_SECTION_LOCAL_CONNECTIVITY = 'local'
SUB_SECTION_LOGIN = 'login'
SUB_SECTION_MODEL_REGIONS = 'regionmodel'
SUB_SECTION_MODEL_SURFACE = 'surfacemodel'
SUB_SECTION_NOISE_CONFIGURATION = 'noiseconfig'
SUB_SECTION_OPERATIONS = 'operations'
SUB_SECTION_PHASE_PLANE = 'phaseplane'
SUB_SECTION_PROJECT_MENU = 'project'
SUB_SECTION_PROPERTIES_PROJECT = 'properties'
SUB_SECTION_STIMULUS_MENU = 'stimulus'
SUB_SECTION_STIMULUS_REGION = 'surfacestim'
SUB_SECTION_STIMULUS_SURFACE = 'regionstim'
SUB_SECTION_VIEW_0 = 'view_connectivity'
SUB_SECTION_VIEW_1 = 'view_connectivity_edge'
SUB_SECTION_VIEW_10 = 'view_correlation_pearson_edge'
SUB_SECTION_VIEW_11 = 'view_animated_timeseries'
SUB_SECTION_VIEW_12 = 'view_fourier'
SUB_SECTION_VIEW_13 = 'view_histogram'
SUB_SECTION_VIEW_14 = 'view_ica'
SUB_SECTION_VIEW_15 = 'view_pca'
SUB_SECTION_VIEW_16 = 'view_pse'
SUB_SECTION_VIEW_17 = 'view_pse_iso'
SUB_SECTION_VIEW_18 = 'view_sensors'
SUB_SECTION_VIEW_19 = 'view_surface'
SUB_SECTION_VIEW_2 = 'view_brain'
SUB_SECTION_VIEW_20 = 'view_timeseries'
SUB_SECTION_VIEW_21 = 'view_volume'
SUB_SECTION_VIEW_22 = 'view_topography'
SUB_SECTION_VIEW_23 = 'view_wavelet'
SUB_SECTION_VIEW_24 = 'view_annotations'
SUB_SECTION_VIEW_25 = 'view_matrix'
SUB_SECTION_VIEW_3 = 'view_brain_dual'
SUB_SECTION_VIEW_4 = 'view_connectivity_local'
SUB_SECTION_VIEW_5 = 'view_covariance'
SUB_SECTION_VIEW_6 = 'view_coherence'
SUB_SECTION_VIEW_7 = 'view_complex_coherence'
SUB_SECTION_VIEW_8 = 'view_correlation'
SUB_SECTION_VIEW_9 = 'view_correlation_pearson'
VISUALIZERS_ONLINE_HELP_SHORTCUTS = {'view_connectivity_edge': 'connectivity-edge-bundle-visualizer', 'view_brain': 'brain-activity-visualizer', 'view_brain_dual': 'dual-brain-activity-visualizer', 'view_connectivity_local': 'local-connectivity-visualizer', 'view_covariance': 'covariance-visualizer', 'view_coherence': 'cross-coherence-visualizer', 'view_complex_coherence': 'complex-coherence-visualizer', 'view_correlation': 'cross-correlation-visualizer', 'view_correlation_pearson': 'pearson-coefficients-visualizer', 'view_correlation_pearson_edge': 'pearson-edge-bundle-visualizer', 'view_animated_timeseries': 'animated-time-series-visualizer', 'view_fourier': 'fourier-spectrum-visualizer', 'view_histogram': 'connectivity-measure-visualizer', 'view_ica': 'independent-component-visualizer', 'view_pca': 'principal-component-visualizer', 'view_pse': 'discrete-pse-visualizer', 'view_pse_iso': 'isocline-pse-visualizer', 'view_sensors': 'sensor-visualizer', 'view_surface': 'surface-visualizer', 'view_timeseries': 'time-series-visualizer-svg-d3', 'view_volume': 'volume-visualizer', 'view_topography': 'topographic-visualizer', 'view_wavelet': 'wavelet-spectrogram-visualizer', 'view_annotations': 'annotations-visualizer', 'view_matrix': 'matrix-visualizer'}
WEB_SECTION_TITLES = {'user': 'User', 'project': 'Project', 'burst': 'Simulator', 'analyze': 'Analyze', 'stimulus': 'Stimulus', 'connectivity': 'Connectivity'}
WEB_SUBSECTION_TITLES = {'login': 'Login', 'account': 'Register', 'project': '', 'operations': 'Operations', 'data': 'Data Structure', 'list': 'List', 'properties': 'Properties', 'figures': 'Image Archive', 'burst': '', 'regionmodel': 'Region Model Parameters', 'surfacemodel': 'Surface Model Parameters', 'noiseconfig': 'Noise dispersion configuration', 'phaseplane': 'Phase plane', 'analyze': '', 'crosscorr': 'Cross Correlation', 'ccpearson': 'Correlation Coefficients', 'coherence': 'Coherence', 'complexcoherence': 'Complex Coherence', 'covariance': 'Covariance', 'components': 'Principal Components', 'fourier': 'Fourier', 'ica': 'ICA', 'timeseries': 'TimeSeries', 'wavelet': 'Wavelet', 'balloon': 'Model Balloon', 'bct': 'BCT', 'bctcentrality': 'BCT Centrality', 'bctclustering': 'BCT Clustering', 'bctdegree': 'BCT Degree', 'bctdensity': 'BCT Density', 'bctdistance': 'BCT Distance', 'fcd_calculator': 'Functional Connectivity Dynamics', 'stimulus': '', 'regionstim': 'Region', 'surfacestim': 'Surface', 'step': '', 'connectivity': 'Large Scale', 'local': 'Local', 'allen': 'Mouse', 'view_connectivity': 'Connectivity Visualizer', 'view_connectivity_edge': 'Connectivity Edge Visualizer', 'view_brain': 'Brain Visualizer', 'view_brain_dual': 'Brain Dual Activity Visualizer (3D and 2D)', 'view_connectivity_local': 'Local Connectivity Visualizer', 'view_covariance': 'Covariance Visualizer', 'view_coherence': 'Coherence Visualizer', 'view_complex_coherence': 'Complex Coherence Visualizer', 'view_correlation': 'Cross Correlation Visualizer', 'view_correlation_pearson': 'Pearson Correlation Coefficients Visualizer', 'view_correlation_pearson_edge': 'Pearson Correlation Coefficients Edge Visualizer', 'view_animated_timeseries': 'Animated TimeSeries Visualizer', 'view_fourier': 'Fourier Visualizer', 'view_histogram': 'Histogram Visualizer', 'view_ica': 'ICA Visualizer', 'view_pca': 'PCA Visualizer', 'view_pse': 'Discrete PSE Visualizer', 'view_pse_iso': 'Isocline PSE Visualizer', 'view_sensors': 'Sensor Visualizer', 'view_surface': 'Surface Visualizer', 'view_timeseries': 'TimeSeries Visualizer', 'view_volume': 'in Volume Visualizer', 'view_topography': 'Topography Visualizer', 'view_wavelet': 'Wavelet Visualizer', 'view_annotations': 'Annotations Visualizer', 'view_matrix': 'Matrix Visualizer'}