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: 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: object

ANALYZERS_ONLINE_HELP_SHORTCUTS = {'crosscorr': 'cross-correlation-of-nodes', 'bctdegree': 'brain-connectivity-toolbox-analyzers', 'components': 'principal-component-analysis-pca', 'bctcentrality': 'brain-connectivity-toolbox-analyzers', 'bctclustering': 'brain-connectivity-toolbox-analyzers', 'ica': 'independent-component-analysis-ica', 'coherence': 'cross-coherence-of-nodes', 'bctdistance': 'brain-connectivity-toolbox-analyzers', 'covariance': 'temporal-covariance-of-nodes', 'bct': 'brain-connectivity-toolbox-analyzers', 'ccpearson': 'pearson-correlation-coefficient', 'fcd_calculator': 'functional-connectivity-dynamics-metric', 'wavelet': 'continuous-wavelet-transform-cwt', 'complexcoherence': 'complex-coherence-of-nodes', 'timeseries': 'timeseries-metrics', 'fourier': 'fourier-spectral-analysis', 'balloon': 'model-balloon', 'bctdensity': 'brain-connectivity-toolbox-analyzers'}
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_annotations': 'annotations-visualizer', 'view_connectivity_edge': 'connectivity-edge-bundle-visualizer', 'view_brain': 'brain-activity-visualizer', 'view_topography': 'topographic-visualizer', 'view_coherence': 'cross-coherence-visualizer', 'view_brain_dual': 'dual-brain-activity-visualizer', 'view_sensors': 'sensor-visualizer', 'view_connectivity_local': 'local-connectivity-visualizer', 'view_complex_coherence': 'complex-coherence-visualizer', 'view_matrix': 'matrix-visualizer', 'view_ica': 'independent-component-visualizer', 'view_pse': 'discrete-pse-visualizer', 'view_histogram': 'connectivity-measure-visualizer', 'view_timeseries': 'time-series-visualizer-svg-d3', 'view_pse_iso': 'isocline-pse-visualizer', 'view_correlation': 'cross-correlation-visualizer', 'view_pca': 'principal-component-visualizer', 'view_fourier': 'fourier-spectrum-visualizer', 'view_surface': 'surface-visualizer', 'view_covariance': 'covariance-visualizer', 'view_animated_timeseries': 'animated-time-series-visualizer', 'view_volume': 'volume-visualizer', 'view_wavelet': 'wavelet-spectrogram-visualizer', 'view_correlation_pearson': 'pearson-coefficients-visualizer', 'view_correlation_pearson_edge': 'pearson-edge-bundle-visualizer'}
WEB_SECTION_TITLES = {'burst': 'Simulator', 'stimulus': 'Stimulus', 'project': 'Project', 'connectivity': 'Connectivity', 'user': 'User', 'analyze': 'Analyze'}
WEB_SUBSECTION_TITLES = {'operations': 'Operations', 'view_annotations': 'Annotations Visualizer', 'bctdegree': 'BCT Degree', 'burst': '', 'view_animated_timeseries': 'Animated TimeSeries Visualizer', 'view_surface': 'Surface Visualizer', 'bctdistance': 'BCT Distance', 'view_brain': 'Brain Visualizer', 'allen': 'Mouse', 'view_complex_coherence': 'Complex Coherence Visualizer', 'regionmodel': 'Region Model Parameters', 'view_topography': 'Topography Visualizer', 'surfacemodel': 'Surface Model Parameters', 'view_coherence': 'Coherence Visualizer', 'bctcentrality': 'BCT Centrality', 'bctclustering': 'BCT Clustering', 'regionstim': 'Region', 'ica': 'ICA', 'view_connectivity_edge': 'Connectivity Edge Visualizer', 'view_connectivity_local': 'Local Connectivity Visualizer', 'ccpearson': 'Correlation Coefficients', 'wavelet': 'Wavelet', 'complexcoherence': 'Complex Coherence', 'view_ica': 'ICA Visualizer', 'fcd_calculator': 'Functional Connectivity Dynamics', 'view_pse': 'Discrete PSE Visualizer', 'phaseplane': 'Phase plane', 'local': 'Local', 'view_histogram': 'Histogram Visualizer', 'view_wavelet': 'Wavelet Visualizer', 'surfacestim': 'Surface', 'view_matrix': 'Matrix Visualizer', 'view_timeseries': 'TimeSeries Visualizer', 'view_connectivity': 'Connectivity Visualizer', 'coherence': 'Coherence', 'view_pse_iso': 'Isocline PSE Visualizer', 'covariance': 'Covariance', 'view_correlation': 'Cross Correlation Visualizer', 'connectivity': 'Large Scale', 'step': '', 'crosscorr': 'Cross Correlation', 'view_pca': 'PCA Visualizer', 'timeseries': 'TimeSeries', 'view_fourier': 'Fourier Visualizer', 'data': 'Data Structure', 'properties': 'Properties', 'noiseconfig': 'Noise dispersion configuration', 'account': 'Register', 'analyze': '', 'stimulus': '', 'list': 'List', 'view_covariance': 'Covariance Visualizer', 'view_volume': 'in Volume Visualizer', 'project': '', 'view_brain_dual': 'Brain Dual Activity Visualizer (3D and 2D)', 'view_correlation_pearson': 'Pearson Correlation Coefficients Visualizer', 'figures': 'Image Archive', 'components': 'Principal Components', 'view_sensors': 'Sensor Visualizer', 'bct': 'BCT', 'login': 'Login', 'fourier': 'Fourier', 'view_correlation_pearson_edge': 'Pearson Correlation Coefficients Edge Visualizer', 'balloon': 'Model Balloon', 'bctdensity': 'BCT Density'}