web Package

operations_assigner

Entry point for a POD on kubernetes cloud, to monitor submitted ops and launch an executor.

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.

class tvb.interfaces.web.run.CleanupSessionHandler(id=None, **kwargs)[source]

Bases: RamSession

clean_up()[source]

Clean up expired sessions.

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

run_landing_page

Launches the common landing page

class tvb.interfaces.web.run_landing_page.RedirectOption(url, label, description)[source]

Bases: object

tvb.interfaces.web.run_landing_page.index()[source]
tvb.interfaces.web.run_landing_page.parse_config_file(file_name='/root/.tvb.landing.page.configuration')[source]

structure

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

Bases: object

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

Subpackages