index int64 | repo_name string | branch_name string | path string | content string | import_graph string |
|---|---|---|---|---|---|
94,175 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/General/Model/TimeWindow.py | from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore
import numpy as np
import pandas as pd
from pyphocorehelpers.print_helpers import SimplePrintable, PrettyPrintable
""" Windowing Class Features:
Transforming the events into either 2D or 3D representations for visualization should NOT be part of this cla... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,176 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/Menus/LocalMenus_AddRenderable/Uic_AUTOGEN_LocalMenus_AddRenderable.py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\Menus\LocalMenus_AddRenderable\LocalMenus_AddRenderable.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be ... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,177 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/General/Pipeline/Stages/LoadFunctions/LoadFunctionRegistryHolder.py | from pyphocorehelpers.mixins.auto_registering import RegistryHolder
from typing import Dict
class LoadFunctionRegistryHolder(RegistryHolder):
REGISTRY: Dict[str, "LoadFunctionRegistryHolder"] = {}
""" LoadedPipelineStage
self.registered_computation_function_dict = computed_stage.registered_computation_func... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,178 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/Unused/RadialMenu.py | from PyQt5 import QtWidgets, QtGui, QtCore
from math import sqrt
import numpy as np
import pyphoplacecellanalysis.External.pyqtgraph as pg
class RadialMenu(QtWidgets.QGraphicsObject):
""" A PyQt-based Radial GUI Menu Widget
From https://stackoverflow.com/questions/60310219/radial-menu-with-pyside-pyqt
... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,179 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/Pho2D/stacked_epoch_slices.py | from copy import deepcopy
import numpy as np
import pandas as pd
from pyphocorehelpers.indexing_helpers import safe_find_index_in_list
from pyphocorehelpers.function_helpers import function_attributes
from pyphocorehelpers.DataStructure.general_parameter_containers import VisualizationParameters, RenderPlotsData, Ren... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,180 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Examples/pyqtplot_BackgroundGraphics.py | # -*- coding: utf-8 -*-
"""
This example demonstrates the use of RemoteGraphicsView to improve performance in
applications with heavy load. It works by starting a second process to handle
all graphics rendering, thus freeing up the main process to do its work.
In this example, the update() function is very expensive ... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,181 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/General/Pipeline/Stages/Display.py | from collections import OrderedDict
from datetime import datetime
from pathlib import Path
from typing import Optional
import numpy as np
from neuropy.core.neuron_identities import NeuronIdentity, build_units_colormap, PlotStringBrevityModeEnum
from neuropy.utils.result_context import IdentifyingContext
from pyphocor... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,182 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/MainApplicationWindows/MainWindowWrapper.py | # MainWindowWrapper
from qtpy import QtCore, QtGui, QtWidgets
from pyphocorehelpers.gui.PhoUIContainer import PhoUIContainer
import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecellanalysis.Resources import ActionIcons
from pyphoplacecellanalysis.Resources import GuiResources
from pyphoplacecellanaly... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,183 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/External/breeze_style_sheets/example/shared.py | '''
shared
======
Shared imports and compatibility definitions between Qt5 and Qt6.
'''
import argparse
import os
import sys
example_dir = os.path.dirname(os.path.realpath(__file__))
home = os.path.dirname(example_dir)
dist = os.path.join(home, 'dist')
def create_parser():
'''Create an argparser wit... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,184 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/External/pyqtgraph/widgets/MatplotlibWidget.py | from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas
from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT as NavigationToolbar
from matplotlib.figure import Figure
from ..Qt import QtWidgets
__all__ = ['MatplotlibWidget']
class MatplotlibWidget(QtWidgets.QWidget):
"""
... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,185 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Panel/panel_helpers.py | import param
import panel as pn
from panel.viewable import Viewer
def build_carousel_scroller(items):
"""
Usage:
item_layout = pn.widgets.Layout(height='120px', min_width='40px')
items = [pn.Row(a_widget, layout=item_layout, margin=0, background='black') for a_widget in single_pf_output_panel... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,186 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/Menus/LocalMenus_AddRenderable/LocalMenus_AddRenderable.py | # LocalMenus_AddRenderable.py
# Generated from c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\GlobalApplicationMenus\LocalMenus_AddRenderable.ui automatically by PhoPyQtClassGenerator VSCode Extension
from functools import partial
from benedict import benedict
import pyphoplacecellanalysi... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,187 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/Widgets/SingleGroupOptionalMembersCtrl/SingleGroupOptionalMembersCtrl.py | # SingleGroupOptionalMembersCtrl.py
# Generated from c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\FigureFormatConfigControls\SingleGroupOptionalMembersCtrl.ui automatically by PhoPyQtClassGenerator VSCode Extension
import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecell... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,188 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/General/Pipeline/Stages/DisplayFunctions/Interactive3dDisplayFunctions.py | from pathlib import Path
import pyvista as pv
import pyvistaqt as pvqt
from neuropy.utils.dynamic_container import overriding_dict_with
from pyphocorehelpers.function_helpers import function_attributes
from pyphocorehelpers.gui.Qt.widget_positioning_helpers import WidgetPositioningHelpers
from pyphoplacecellanalysis.... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,189 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/PhoPositionalData/plotting/saving.py | import datetime
import numpy as np
from matplotlib.backends.backend_pdf import PdfPages
import matplotlib.pyplot as plt
"""
#saving, #figures, #matplotlib, #pdf
TODO: REORGANIZE_PLOTTER_SCRIPTS: matplotlib
# Simple Figure Saving Demonstration:
aFig.suptitle('Lap Trajectories 2D', fontsize=22)
fig_out_path = acti... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,190 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/Pho2D/matplotlib/MatplotlibTimeSynchronizedWidget.py | # from pyphocorehelpers.DataStructure.general_parameter_containers import VisualizationParameters, RenderPlotsData, RenderPlots
from pyphocorehelpers.gui.PhoUIContainer import PhoUIContainer
import pyphoplacecellanalysis.External.pyqtgraph as pg
from qtpy import QtCore, QtWidgets, QtGui
from pyphoplacecellanalysis.Pho2... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,191 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/SpikeRasterWidgets/Spike2DRaster.py | from copy import deepcopy
import time
import sys
from indexed import IndexedOrderedDict
import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui, QtWidgets
from pyphocorehelpers.function_helpers import function_attributes
# For Dynamic Plot Widget A... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,192 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/Pho3D/PyVista/camera_manipulation.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@author: pho
Camera control functions
TODO: REORGANIZE_PLOTTER_SCRIPTS: PyVista
"""
import sys
import pyvista as pv
import pyvistaqt as pvqt
# Camera Updating Functions:
def apply_camera_view(p, desired_camera_position_matrix):
# desired_camera_position_matrix ... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,193 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/Mixins/RenderWindowControlsMixin.py | import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui, QtWidgets
import pyphoplacecellanalysis.External.pyqtgraph.opengl as gl # for 3D raster plot
import numpy as np
import qtawesome as qta
from pyphocorehelpers.gui.Qt.ToggleButton import ToggleB... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,194 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /tests/test_HDF5_functions.py | import unittest
from pathlib import Path
import pandas as pd
from attrs import define, field, Factory
import tables as tb
from typing import List, Dict
from pyphoplacecellanalysis.General.Batch.AcrossSessionResults import H5FileReference, H5ExternalLinkBuilder
#TODO 2023-08-23 10:41: - [ ] Skeleton of tests written b... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,195 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/Pho3D/spikes.py | import pyvista as pv
import numpy as np
def draw_line_spike(p, x, y, start_z, end_z, **args):
assert np.shape(x) == np.shape(y), f"x and y must be the same shape. np.shape(x): {np.shape(x)}, np.shape(y): {np.shape(y)}"
if np.isscalar(start_z):
# constant value z positions
start_z = np.full_like... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,196 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/Menus/SpecificMenus/simpleContextMenu.py | from qtpy import QtCore, QtGui, QtWidgets
def create_custom_context_menu(owner):
# # create context menu
# self.popMenu = QtGui.QMenu(self)
# self.popMenu.addAction(QtGui.QAction('test0', self))
# self.popMenu.addAction(QtGui.QAction('test1', self))
# self.popMenu.addSeparator()
# self.popMenu.addAction(QtGui.Q... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,197 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyVista/InteractivePlotter/Mixins/ImagePlaneRendering.py | import numpy as np
import pandas as pd
import pyvista as pv
import matplotlib.pyplot as plt
import matplotlib.cm as cm
from matplotlib.colors import Normalize
# import mplcursors
import math # For color map generation
from matplotlib.colors import ListedColormap
# from matplotlib.cm import get_cmap
# Neuropy
from pyph... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,198 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/PlaybackControls/Spike3DRasterBottomPlaybackControlBarWidget.py | # Spike3DRasterBottomPlaybackControlBar.py
# Generated from c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\PlaybackControls\Spike3DRasterBottomPlaybackControlBar.ui automatically by PhoPyQtClassGenerator VSCode Extension
import sys
from datetime import datetime, timezone, timedelta
import n... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,199 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/pyqtplot_common.py | # required to enable non-blocking interaction:
# from PyQt5.Qt import QApplication
# # start qt event loop
# _instance = QApplication.instance()
# if not _instance:
# _instance = QApplication([])
# app = _instance
import numpy as np
import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecellanalysis... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,200 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/PlacefieldVisualSelectionControls/PlacefieldVisualSelectionControlWidget.py | # pyuic5 PlacefieldVisualSelectionWidget.ui -o PlacefieldVisualSelectionWidget.py -x
# PlacefieldVisualSelectionWidgetBase
# pyuic5 PlacefieldVisualSelectionWidgetBase.ui -o PlacefieldVisualSelectionWidgetBase.py -x
import numpy as np
import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecellanalysis.... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,201 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/External/breeze_style_sheets/example/titlebar.py | #!/usr/bin/env python
#
# The MIT License (MIT)
#
# Copyright (c) <2022-Present> <Alex Huszagh>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to deal
# in the Software without restriction, including without limita... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,202 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/Mixins/PaginationMixins.py | import numpy as np
import pandas as pd
from attrs import define, field, Factory
from benedict import benedict # https://github.com/fabiocaccamo/python-benedict#usage
from neuropy.utils.mixins.dict_representable import SubsettableDictRepresentable
from pyphocorehelpers.indexing_helpers import Paginator
from pyphocoreh... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,203 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/External/pyqtgraph/dockarea/__init__.py | from .Dock import Dock, DockDisplayConfig
from .DockArea import DockArea
| {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,204 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/General/Pipeline/Stages/BaseNeuropyPipelineStage.py | from dataclasses import dataclass
from pyphocorehelpers.DataStructure.enum_helpers import OrderedEnum
class PipelineStage(OrderedEnum):
""" The active stage of the pipeline. """
Input = 0
Loaded = 1
Filtered = 2
Computed = 3
Displayed = 4
@dataclass
class BaseNeuropyPipelineStage(object)... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,205 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/SpikeRasterWindows/Uic_AUTOGEN_Spike3DRasterWindowBase.py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\SpikeRasterWindows\Spike3DRasterWindowBase.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyu... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,206 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/DockingWidgets/NestedDockAreaWidget.py | from pyphocorehelpers.gui.PhoUIContainer import PhoUIContainer
import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui, QtWidgets
from pyphoplacecellanalysis.External.pyqtgraph.dockarea.DockArea import DockArea
from pyphoplacecellanalysis.GUI.PyQtP... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,207 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/SpikeRasterWindows/Spike3DRasterWindowWidget.py | import numpy as np
from qtpy import QtCore, QtWidgets
import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphocorehelpers.DataStructure.general_parameter_containers import VisualizationParameters
from pyphocorehelpers.gui.Qt.GlobalConnectionManager import GlobalConnectionManager, GlobalConnectionManagerAcces... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,208 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/PhoPositionalData/process_data.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@author: pho
# TODO: what is this?
"""
import sys
import numpy as np
import scipy
from scipy.ndimage.filters import gaussian_filter
import matplotlib.cm as cm
from matplotlib.colors import Normalize
def process_positionalAnalysis_data(data):
t = np.squeeze(data... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,209 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/External/peak_prominence2d.py | '''Compute peak prominence on 2d array using contour method.
Compute topographic prominence on a 2d surface. See
https://en.wikipedia.org/wiki/Topographic_prominence
for more details.
This module takes a surface in R3 defined by 2D X, Y and Z arrays,
and use enclosing contours to define local maxima. The prominen... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,210 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/MainApplicationWindows/LauncherWidget/LauncherWidget.py | # LauncherWidget.py
# Generated from c:\Users\pho\repos\Spike3DWorkEnv\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\MainApplicationWindows\LauncherWidget\LauncherWidget.ui automatically by PhoPyQtClassGenerator VSCode Extension
import sys
import traceback
import types
import os
from typing import Optional
f... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,211 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/PlacefieldVisualSelectionControlsBar/PlacefieldVisualSelectionControlsBarWidget.py | # pyuic5 PlacefieldVisualSelectionControlsBarWidget.ui -o PlacefieldVisualSelectionControlsBarWidget.py -x
# PlacefieldVisualSelectionControlsBarWidgetBase
# pyuic5 PlacefieldVisualSelectionControlsBarWidgetBase.ui -o PlacefieldVisualSelectionControlsBarWidgetBase.py -x
import numpy as np
import pyphoplacecellanalysi... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,212 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/DockingWidgets/DynamicDockDisplayAreaContent.py | from collections import OrderedDict
from enum import Enum
# import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui, QtWidgets
from pyphoplacecellanalysis.External.pyqtgraph.dockarea.Dock import Dock, DockDisplayConfig
# from pyphoplacecellanalysis... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,213 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/External/breeze_style_sheets/vcs.py | '''
vcs
===
Track/untrack distribution files.
'''
__version__ = '0.1.0'
import argparse
import errno
import os
import shutil
import subprocess
import sys
home = os.path.dirname(os.path.realpath(__file__))
GITIGNORE_ENTRIES = [
# Comments
'# NOTE: this file is auto-generated via `git.py`',
'... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,214 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/General/Pipeline/Stages/ComputationFunctions/DefaultComputationFunctions.py | from copy import deepcopy
import sys
import numpy as np
import pandas as pd
# NeuroPy (Diba Lab Python Repo) Loading
from neuropy.utils.mixins.binning_helpers import build_df_discretized_binned_position_columns
from neuropy.utils.dynamic_container import DynamicContainer # for _perform_two_step_position_decoding_compu... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,215 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Examples/pyqtplot_CheckTableExample.py | import importlib
import sys
from pathlib import Path
import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui, QtWidgets
import numpy as np
from pyphoplacecellanalysis.External.pyqtgraph.widgets.FeedbackButton import FeedbackButton
# NeuroPy (Diba L... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,216 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/Menus/SpecificMenus/CreateLinkedWidget_MenuProvider.py | from qtpy import QtCore, QtGui, QtWidgets
from pyphoplacecellanalysis.Resources import GuiResources, ActionIcons
from pyphocorehelpers.gui.PhoUIContainer import PhoUIContainer
from pyphoplacecellanalysis.GUI.Qt.Menus.PhoMenuHelper import PhoMenuHelper
from pyphoplacecellanalysis.GUI.Qt.Menus.BaseMenuProviderMixin impo... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,217 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/ParameterTreeWidget.py | """
Build GUI parameter tree widget from Parameters object
"""
import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui, QtWidgets
# Custom Param Types:
from pyphoplacecellanalysis.External.pyqtgraph.parametertree import Parameter, ParameterTree
fro... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,218 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/ContextMenuGLViewWidget.py | import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui, QtWidgets
import pyphoplacecellanalysis.External.pyqtgraph.opengl as gl # for 3D raster plot
class ContextMenuGLViewWidget(gl.GLViewWidget):
def __init__(self, parent=None, devicePix... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,219 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/Pho2D/PyQtPlots/TimeSynchronizedPlotters/TimeSynchronizedPlacefieldsPlotter.py | import numpy as np
import pandas as pd
from qtpy import QtCore, QtWidgets
from neuropy.analyses.time_dependent_placefields import PfND_TimeDependent
import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui
from pyphocorehelpers.DataStructure.general... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,220 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Flowchart/CustomNodes/Mixins/DisplayNodeViewHelpers.py | # DisplayNodeViewHelpers.py
from collections import OrderedDict
from enum import Enum
from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtGui, QtCore, QtWidgets
from pyphoplacecellanalysis.External.pyqtgraph.console import ConsoleWidget
from pyphoplacecellanalysis.External.pyqtgraph.widgets.MatplotlibWidget impo... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,221 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/Widgets/ProgrammaticPipelineWidget/Uic_AUTOGEN_ProgrammaticPipelineWidget.py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\Widgets\ProgrammaticPipelineWidget\ProgrammaticPipelineWidget.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file wi... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,222 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/Analysis/Decoder/decoder_result.py | from copy import deepcopy
from dataclasses import dataclass
from typing import Dict, Union
from attrs import define, field, Factory # used for several things
import matplotlib.pyplot as plt
from matplotlib import cm # used for plot_kourosh_activity_style_figure version too to get a good colormap
import numpy as np
imp... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,223 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/helpers.py | ### Graphics Items Children Discovery - Programmatically getting rows/columns of GraphicsLayoutWidget
from collections import namedtuple
import numpy as np
from pyphocorehelpers.programming_helpers import metadata_attributes
from pyphocorehelpers.function_helpers import function_attributes
import pyphoplacecellanalysis... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,224 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Params/SaveRestoreStateParamHelpers.py | """ Simple helper functions that are used to add Save/Restore state buttons to a ParameterTree
Known to be used by:
PhoPy3DPositionAnalysis2021.LibrariesExamples.PyQtPlot.PyQtGraph_PipelineFilterParameterTree_Testing.py
"""
def default_parameters_save_restore_state_button_children():
""" Builds the default s... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,225 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/Widgets/FigureFormatConfigControls/Uic_AUTOGEN_FigureFormatConfigControls.py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\Widgets\FigureFormatConfigControls\FigureFormatConfigControls.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file wi... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,226 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Examples/pyqtplot_DataTreeWidget.py | """
Simple use of DataTreeWidget to display a structure of nested dicts, lists, and arrays
Example:
d = {
'active_sess_config':curr_active_pipeline.active_sess_config.__dict__,
'active_configs':curr_active_pipeline.active_configs,
'active_session_computation_configs':active_session_computat... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,227 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyVista/InteractivePlotter/InteractiveSliderWrapper.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@author: pho
"""
## TODO: very VTK centric, but doesn't need to be
class InteractiveSliderWrapper:
""" a wrapper around a VTK GUI slider widget that can be used to sync state between the slider and the pyvista plotter that it controls. """
# instance attribu... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,228 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/PhoPositionalData/plot_data.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@author: pho
"""
import sys
# from ipygany import PolyMesh, Scene, IsoColor, WarpByScalar
import pyvista as pv
import pyvistaqt as pvqt
import numpy as np
import matplotlib.pyplot as plt
# import mplcursors
import math # For color map generation
from matplotlib.colors ... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,229 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/General/Model/Datasources/CurveDatasource.py | import numpy as np
import pandas as pd
from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore
from pyphoplacecellanalysis.General.Model.Datasources.Datasources import DataframeDatasource
class CurveDatasource(DataframeDatasource):
""" Provides the list of values, 'v' and the timestamps at which they occ... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,230 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Windows/pyqtplot_SecondaryWindow.py | from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtGui, QtCore
class PhoPipelineSecondaryWindow(QtGui.QWidget):
"""
This "window" is a QWidget. If it has no parent,
it will appear as a free-floating window.
"""
def __init__(self, contents):
super().__init__()
layout = QtGui.... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,231 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/DockAreaWrapper.py | from pyphocorehelpers.gui.PhoUIContainer import PhoUIContainer
import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui, QtWidgets, mkQApp
from pyphoplacecellanalysis.External.pyqtgraph.dockarea.Dock import Dock
from pyphoplacecellanalysis.External.... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,232 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/PlaybackControls/Uic_AUTOGEN_Spike3DRasterBottomPlaybackControlBarBase.py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\PlaybackControls\Spike3DRasterBottomPlaybackControlBarBase.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will ... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,233 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/Menus/SpecificMenus/CreateNewConnectedWidgetMenuMixin.py | # CreateNewConnectedWidgetMenuMixin
from qtpy import QtCore, QtGui, QtWidgets
from pyphoplacecellanalysis.Resources import GuiResources, ActionIcons
from pyphocorehelpers.gui.PhoUIContainer import PhoUIContainer
from pyphoplacecellanalysis.GUI.Qt.Menus.PhoMenuHelper import PhoMenuHelper
from pyphoplacecellanalysis.GUI... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,234 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/Analysis/reliability.py | import numpy as np
from pyphocorehelpers.indexing_helpers import build_pairwise_indicies
from scipy.ndimage import gaussian_filter1d
# plotting:
import matplotlib.pyplot as plt
def _compute_single_lap_reliability(curr_lap_filtered_spikes_df, variable_extents_array, min_subdivision_resolution:float = 0.01, spike_blu... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,235 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/General/Pipeline/Stages/ComputationFunctions/SpikeAnalysis.py | from attrs import define, field, asdict
import numpy as np
import pandas as pd
from indexed import IndexedOrderedDict
import itertools
# from neurodsp.burst import detect_bursts_dual_threshold, compute_burst_stats
# from neurodsp.plts.time_series import plot_time_series, plot_bursts # for plotting results
# PyBursts:... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,236 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/MainApplicationWindows/PhoMainAppWindowBase.py | # MainWindowWrapper
from qtpy import QtCore, QtGui, QtWidgets
from pyphocorehelpers.gui.PhoUIContainer import PhoUIContainer
from pyphocorehelpers.gui.Qt.GlobalConnectionManager import GlobalConnectionManager, GlobalConnectionManagerAccessingMixin
import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacece... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,237 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/Widgets/FigureFormatConfigControls/FigureFormatConfigControls.py | # FigureFormatConfigControls.py
# Generated from c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\FigureFormatConfigControls\FigureFormatConfigControls.ui automatically by PhoPyQtClassGenerator VSCode Extension
from datetime import datetime
from pathlib import Path
import warnings # for gett... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,238 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/General/Pipeline/Stages/DisplayFunctions/DefaultDisplayFunctions.py | from neuropy.utils.dynamic_container import overriding_dict_with # required for _display_2d_placefield_result_plot_raw
from pyphocorehelpers.mixins.member_enumerating import AllFunctionEnumeratingMixin
from pyphoplacecellanalysis.General.Pipeline.Stages.DisplayFunctions.DisplayFunctionRegistryHolder import DisplayFunct... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,239 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/PlacefieldVisualSelectionControls/Uic_AUTOGEN_PlacefieldVisualSelectionWidgetBase.py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\PlacefieldVisualSelectionControls\PlacefieldVisualSelectionWidgetBase.ui'
#
# Created by: PyQt5 UI code generator 5.15.7
#
# WARNING: Any manual changes made to this... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,240 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/General/Pipeline/Stages/ComputationFunctions/PlacefieldDensityAnalysisComputationFunctions.py | import sys
from warnings import warn
import numpy as np
import pandas as pd
import itertools # for _perform_placefield_overlap_computation
import matplotlib
# configure backend here
matplotlib.use('Agg')
import matplotlib.pyplot as plt # required for _perform_pf_analyze_results_peak_prominence2d_computation to build P... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,241 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/Pho3D/PyVista/peak_prominences.py | """ peak_prominence_mixins
TODO: REORGANIZE_PLOTTER_SCRIPTS: PyVista
Helper functions that draw/render the neuron's computed peak/prominence/size/contours info on the 3D PyVista placefields plot
"""
import numpy as np
import pyvista as pv # for building bounding boxes
from pyphoplacecellanalysis.Pho3D.PyVista.grap... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,242 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/General/Model/SpikesDataframeWindow.py | from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore
import numpy as np
from pyphoplacecellanalysis.General.Model.TimeWindow import TimeWindow
from pyphoplacecellanalysis.General.Model.LiveWindowedData import LiveWindowedData
from pyphoplacecellanalysis.General.Model.Datasources.Datasources import Dataframe... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,243 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/Pho3D/points.py | import pyvista as pv
import numpy as np
from pyphocorehelpers.indexing_helpers import interleave_elements
def interlieve_points(start_points, end_points):
return interleave_elements(start_points, end_points)
# Plot current segment as spline:
def lines_from_points(points):
"""Given an array of points, make a l... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,244 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Flowchart/CustomNodes/BasePipeline/PipelineComputationsNode.py | from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtGui, QtCore
from pyphoplacecellanalysis.External.pyqtgraph.widgets.ProgressDialog import ProgressDialog
# pyPhoPlaceCellAnalysis:
from pyphoplacecellanalysis.GUI.Qt.Mixins.CheckTableCtrlOwningMixin import CheckTableCtrlOwningMixin
from pyphoplacecellanalysis.G... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,245 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/Menus/SpecificMenus/DebugMenuProviderMixin.py | from qtpy import QtCore, QtGui, QtWidgets
from pyphoplacecellanalysis.Resources import GuiResources, ActionIcons
from pyphocorehelpers.gui.PhoUIContainer import PhoUIContainer
from pyphoplacecellanalysis.GUI.Qt.Menus.PhoMenuHelper import PhoMenuHelper
from pyphoplacecellanalysis.GUI.Qt.Menus.BaseMenuProviderMixin impo... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,246 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/Mixins/RenderTimeEpochs/EpochRenderingMixin.py | from copy import copy, deepcopy
from neuropy.core import Epoch
import numpy as np
import pandas as pd
from qtpy import QtCore
from pyphocorehelpers.print_helpers import SimplePrintable, PrettyPrintable, iPythonKeyCompletingMixin
from pyphocorehelpers.DataStructure.dynamic_parameters import DynamicParameters
from pyp... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,247 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/Mixins/TimeCurves/actions/UNUSED_plotAction.py | """
The class :class:`.PlotAction` help the creation of a qt.QAction associated
with a :class:`.PlotWidget`.
"""
import weakref
# from silx.gui import icons
# from silx.gui import qt
import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui, QtWidge... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,248 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Flowchart/ReloadableNodeLibrary.py | import importlib
from pyphoplacecellanalysis.External.pyqtgraph.flowchart.NodeLibrary import NodeLibrary
import pyphoplacecellanalysis.External.pyqtgraph.flowchart.library as fclib
# Import the custom nodes:
from pyphoplacecellanalysis.GUI.PyQtPlot.Flowchart.CustomNodes.DisplayNodes.ImageViewNode import ImageViewNode
... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,249 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/External/burst-detection-master/lib_final_cma.py | import sys, copy
import h5py
import numpy as np
from scipy import signal, stats
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
plt.ion()
plt.close('all')
def do_cma(data, tScale=1000., minLen=3, histBins=100, plot=False, verbose=4):
if verbose > 0:
print "\nRUNNING CUMULATIVE MO... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,250 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/GraphicsObjects/IntervalRectsItem.py | """
Demonstrate creation of a custom graphic (a candlestick plot)
"""
import copy
import numpy as np
import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecellanalysis.External.pyqtgraph import QtCore, QtGui, QtWidgets
from pyphoplacecellanalysis.GUI.PyQtPlot.Widgets.helpers import RectangleRenderTuple... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,251 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/General/Pipeline/Stages/ComputationFunctions/PlacefieldComputations.py | import numpy as np
import pandas as pd
import itertools
from neuropy.analyses.placefields import PlacefieldComputationParameters, perform_compute_placefields
from copy import deepcopy
from neuropy.analyses.time_dependent_placefields import PfND_TimeDependent, perform_compute_time_dependent_placefields
from pyphocoreh... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,252 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/General/Model/RenderDataseries.py | from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore
import numpy as np
import pandas as pd
from pyphocorehelpers.print_helpers import SimplePrintable, PrettyPrintable
from pyphoplacecellanalysis.General.DataSeriesToSpatial import DataSeriesToSpatial
class RenderDataseries(SimplePrintable, PrettyPrintab... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,253 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/General/Pipeline/Stages/Loading.py | from typing import Callable, List, Dict, Optional
from types import ModuleType
import dataclasses
from dataclasses import dataclass
from datetime import datetime
import pathlib
from pathlib import Path
from pyphocorehelpers.programming_helpers import metadata_attributes
from pyphocorehelpers.function_helpers import fu... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,254 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/Pho2D/PyQtPlots/plot_placefields.py | # required to enable non-blocking interaction:
# from PyQt5.Qt import QApplication
# # start qt event loop
# _instance = QApplication.instance()
# if not _instance:
# _instance = QApplication([])
# app = _instance
import numpy as np
from neuropy.utils.misc import safe_item
from neuropy.utils.dynamic_container impo... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,255 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/Widgets/IdentifyingContextSelector/IdentifyingContextSelectorWidget.py | # IdentifyingContextSelectorWidget.py
# Generated from c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\IdentifyingContextSelector\IdentifyingContextSelectorWidget.ui automatically by PhoPyQtClassGenerator VSCode Extension
from copy import deepcopy
import sys
import os
import numpy as np
fro... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,256 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Flowchart/CustomNodes/Mixins/FlowchartNodePipelineHelpers.py | from copy import deepcopy
from attrs import define, Factory, fields
from pathlib import Path
import numpy as np
from neuropy.core.session.Formats.BaseDataSessionFormats import DataSessionFormatRegistryHolder # for batch_load_session
from neuropy.core.session.SessionSelectionAndFiltering import build_custom_epochs_filt... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,257 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/PhoPositionalData/load_exported.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@author: pho
"""
import sys
import numpy as np
import h5py
import hdf5storage # conda install hdf5storage
from pathlib import Path
from neuropy.utils.mixins.print_helpers import ProgressMessagePrinter, print_file_progress_message
def import_mat_file(mat_import_file='d... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,258 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/PhoPositionalData/analysis/neuronal_dimensionality_reduction.py | # neuronal_dimensionality_reduction.py
## Does PCA and ICA to generate 2D plots
import sys
import numpy as np
import matplotlib.pyplot as plt
from neuropy import core
def runAnalysis_PCAandICA(active_session_Neurons, bin_size=0.250, frate_thresh=0.1, should_plot=False, active_cells_colormap=None):
""" ## ICA and ... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,259 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/PhoPositionalData/plotting/mixins/general_plotting_mixins.py | import param
import numpy as np
import pandas as pd
from qtpy import QtGui # for QColor
class NeuronConfigOwningMixin:
""" Implementors own a series of visual configurations for each neuron.
Requirements:
self.params.pf_active_configs
self.params.pf_colors_hex
self.ratema... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,260 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/Widgets/SingleGroupOptionalMembersCtrl/Uic_AUTOGEN_SingleGroupOptionalMembersCtrl.py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\Widgets\SingleGroupOptionalMembersCtrl\SingleGroupOptionalMembersCtrl.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,261 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /tests/test_pho_custom_position_decoder.py | import unittest
import numpy as np
import pandas as pd
# import the package
import sys, os
from pathlib import Path
# Add Neuropy to the path as needed
tests_folder = Path(os.path.dirname(__file__))
try:
import pyphoplacecellanalysis
except ModuleNotFoundError as e:
root_project_folder = tests_folder.pare... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,262 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/Mixins/TimeCurves/SpecificTimeCurves.py | ### Complex Dataseries-based CurveDatasource approach:
from typing import OrderedDict
import numpy as np
import pandas as pd
from sklearn.preprocessing import MinMaxScaler
from pyphoplacecellanalysis.General.Model.RenderDataseries import RenderDataseries
from pyphoplacecellanalysis.GUI.PyQtPlot.Widgets.Mixins.TimeCurve... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,263 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyVista/InteractivePlotter/InteractiveCustomDataExplorer.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@author: pho
"""
import numpy as np
import pyvista as pv
from pyvistaqt.plotting import MultiPlotter
from pyphoplacecellanalysis.Pho3D.PyVista.spikeAndPositions import perform_plot_flat_arena
from pyphoplacecellanalysis.GUI.PyVista.InteractivePlotter.InteractiveData... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,264 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/Pho3D/PyVista/animations.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@author: pho
TODO: REORGANIZE_PLOTTER_SCRIPTS: PyVista
"""
import sys
import pyvista as pv
import pyvistaqt as pvqt
import numpy as np
from pathlib import Path
# from pyphoplacecellanalysis.PhoPositionalData.plotting.animations import * # make_mp4_from_plotter
## F... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,265 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/Mixins/RenderTimeEpochs/Specific2DRenderTimeEpochs.py | import numpy as np
import pandas as pd
from neuropy.core.laps import Laps
from neuropy.core.epoch import Epoch
from neuropy.core.session.dataSession import DataSession
import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecellanalysis.General.Model.Datasources.IntervalDatasource import IntervalsData... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,266 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Vedo/VedoMeshManipulatable.py | import vedo
from vedo import Mesh, Cone, Plotter, printc, Glyph
from vedo import Rectangle, Lines, Plane, Axes, merge, colorMap # for StaticVedo_3DRasterHelper
from vedo import Volume, ProgressBar, show, settings
class VedoPlotterHelpers:
"""docstring for VedoHelpers.
Import with:
from pypho... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,267 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/Widgets/PaginationCtrl/PaginationControlWidget.py | # PaginationControlWidget.py
# Generated from c:\Users\pho\repos\Spike3DWorkEnv\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\Widgets\PaginationCtrl\PaginationControlWidget.ui automatically by PhoPyQtClassGenerator VSCode Extension
import sys
import os
from PyQt5 import QtCore, QtGui, QtWidgets, uic
from Py... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,268 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/SpikeRasterWidgets/SpikeRasterBase.py | from copy import deepcopy
import time
import sys
from typing import OrderedDict, Union
import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui, QtWidgets
import pyphoplacecellanalysis.External.pyqtgraph.opengl as gl # for 3D raster plot
import numpy... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,269 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/Mixins/Render2DNeuronIdentityLinesMixin.py | import numpy as np
class Render2DNeuronIdentityLinesMixin:
""" renders the horizontal lines separating the neurons on the 2D raster plots
Review 2022-08-30 - Confirmed working as implemented! (Actually, the correct spacing/grid layout of the lines wasn't validated and doesn't look perfect, but the whole... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,270 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Examples/pyqtplot_Legend.py | import numpy as np
import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtWidgets, mkQApp, QtGui
class PyQtPlotLegendMixin:
def add_legend():
""" https://www.geeksforgeeks.org/pyqtgraph-symbols/
o : Default symbol, round circle symbo... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,271 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /tests/test_externalGUI.py | import numpy as np
import sys
import matplotlib.pyplot as plt
import pyphoplacecellanalysis.External.matplotlib.mplAdvancedOptions
if __name__ == "__main__":
x = np.linspace(0,4*np.pi,10000)
y = np.sin(x)
y1 = 40000*x;
y2 = np.sin(2*x)
plt.figure(1)
plt.plot(x,y)
plt.plot(x,y1)
plt.plot(x,y2)
plt.show()
| {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,272 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/Qt/ZoomAndNavigationSidebarControls/Spike3DRasterLeftSidebarControlBarWidget.py | import sys
import numpy as np
from qtpy import QtCore, QtWidgets
from pyphoplacecellanalysis.GUI.Qt.ZoomAndNavigationSidebarControls.Spike3DRasterLeftSidebarControlBarBase import Ui_leftSideToolbarWidget # Generated file from .ui
def trap_exc_during_debug(*args):
# when app raises uncaught exception, print info
... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,273 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/General/Pipeline/Stages/DisplayFunctions/MultiContextComparingDisplayFunctions/LongShortTrackComparingDisplayFunctions.py | from copy import deepcopy
from enum import Enum, unique # for PlacefieldOverlapMetricMode
from pathlib import Path
import numpy as np
import pandas as pd
import matplotlib as mpl
import matplotlib.pyplot as plt
from matplotlib.figure import Figure, FigureBase # FigureBase: both Figure and SubFigure
from flexitext impor... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
94,274 | CommanderPho/pyPhoPlaceCellAnalysis | refs/heads/master | /src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/Mixins/Render2DScrollWindowPlot.py | import numpy as np
import pyphoplacecellanalysis.External.pyqtgraph as pg
from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui, QtWidgets
from pyphoplacecellanalysis.GUI.PyQtPlot.Widgets.GraphicsObjects.CustomLinearRegionItem import CustomLinearRegionItem
from pyphoplacecellanalysis.General.Model.Da... | {"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.