index
int64
repo_name
string
branch_name
string
path
string
content
string
import_graph
string
94,075
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/PhoPositionalData/plotting/placefield.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: pho NOTE: This is a GOOD, general class that offers both 2D (matplot) and 3D (pyvista) functionality """ from indexed import IndexedOrderedDict import sys import pyvista as pv import pyvistaqt as pvqt import numpy as np import pandas as pd from pathlib impor...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,076
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Model/SpecificComputationValidation.py
from attrs import define, Factory, fields from typing import Callable @define(slots=False, repr=False) class SpecificComputationValidator: """ This encapsulates the logic for testing if a computation already complete or needs to be completed, and calling the compute function if needed. Usage: from pyphop...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,077
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/DockPlanningHelperWidget/Uic_AUTOGEN_DockPlanningHelperWidget.py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\PyQtPlot\Widgets\DockPlanningHelperWidget\DockPlanningHelperWidget.ui' # # Created by: PyQt5 UI code generator 5.15.7 # # WARNING: Any manual changes made to this file ...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,078
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Mixins/ExportHelpers.py
from copy import deepcopy from datetime import datetime from enum import Enum # for getting the current date to set the ouptut folder name from pathlib import Path from typing import Any, Callable, List, Optional, Union, Dict import pandas as pd import numpy as np from attrs import define, field, Factory, fields from ...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,079
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Mixins/DataSeriesColorHelpers.py
from typing import OrderedDict, Union from copy import deepcopy import numpy as np import pandas as pd from neuropy.utils.mixins.enum_helpers import StringLiteralComparableEnum from pyphocorehelpers.programming_helpers import metadata_attributes from pyphocorehelpers.function_helpers import function_attributes import p...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,080
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyVista/InteractivePlotter/InteractiveDataExplorerBase.py
# InteractivePyvistaPlotterBuildIfNeededMixin # from neuropy import numpy as np import pyvista as pv from qtpy import QtCore, QtGui, QtWidgets from pyphocorehelpers.DataStructure.general_parameter_containers import DebugHelper, VisualizationParameters, RenderPlotsData, RenderPlots from pyphocorehelpers.gui.PhoUIConta...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,081
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/Qt/MainApplicationWindows/PhoPipelineMainWindow/pyqtplot_MainWindow.py
# from PyQt6 import QtWidgets, uic from typing import OrderedDict from PyQt5 import QtWidgets, uic from pyphoplacecellanalysis.External.pyqtgraph.flowchart import Flowchart, Node import pyphoplacecellanalysis.External.pyqtgraph.flowchart.library as fclib from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtGui, ...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,082
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/Mixins/RenderTimeEpochs/Render2DEventRectanglesHelper.py
""" Render2DEventRectanglesHelper and Render2DEventRectanglesMixin """ from copy import deepcopy import numpy as np import pandas as pd from neuropy.core import Epoch import pyphoplacecellanalysis.External.pyqtgraph as pg # from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui, QtWidgets from pyphop...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,083
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Mixins/DisplayHelpers.py
import matplotlib.pyplot as plt import numpy as np from pyphocorehelpers.programming_helpers import metadata_attributes from pyphocorehelpers.function_helpers import function_attributes from pyphocorehelpers.print_helpers import WrappingMessagePrinter from pyphocorehelpers.plotting.mixins.figure_param_text_box import ...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,084
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/External/breeze_style_sheets/example/slider.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,085
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/Pho2D/PyQtPlots/TimeSynchronizedPlotters/Mixins/helpers.py
import pyphoplacecellanalysis.External.pyqtgraph as pg # ==================================================================================================================== # # 🔜👁️‍🗨️ Merging TimeSynchronized Plotters: # # ===================...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,086
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Params/MatFileBrowser/MatFileBrowser.py
import numpy as np import pandas as pd from pathlib import Path import h5py import hdf5storage # conda install hdf5storage from pyphoplacecellanalysis.PhoPositionalData.load_exported import import_mat_file import scipy.io # used for not HDF format files: from warnings import warn import pyphoplacecellanalysis.Exte...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,087
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Batch/AcrossSessionResults.py
""" Concerned with aggregating data (raw and computed results) across multiple sessions. Previously (Pre 2023-07-31) everything was designed in terms of a single session: the entire `NeuropyPipeline` object represents a single recording session - although it might slice this session several different ways and pro...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,088
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/Mixins/TimeCurves/RenderTimeCurvesMixin.py
import pyphoplacecellanalysis 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 pandas as pd from pyphocorehelpers.general...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,089
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/Pho3D/PyVista/spikeAndPositions.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: pho TODO: REORGANIZE_PLOTTER_SCRIPTS: PyVista ## Seems to primarily be a PyVista (pv) helper functions file """ import sys from warnings import warn import pyvista as pv import numpy as np import pandas as pd # Fixed Geometry objects: animal_location_s...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,090
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/GLGraphicsItems/RegionWindowVisualOverview.py
import dataclasses from typing import Optional import sys import numpy as np import pyphoplacecellanalysis.External.pyqtgraph as pg from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui, QtWidgets @dataclasses.dataclass class AddRegionWidget(pg.GraphicsLayoutWidget): """ A widget that allows one...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,091
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/PhoPositionalData/plotting/laps.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: pho """ from itertools import islice # for Pagination class import numpy as np import matplotlib.pyplot as plt from matplotlib.collections import LineCollection, BrokenBarHCollection from matplotlib.colors import ListedColormap, BoundaryNorm import pyvista as ...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,092
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/Pho2D/PyQtPlots/Extensions/pyqtgraph_helpers.py
from enum import Enum from pathlib import Path import numpy as np from pyphocorehelpers.function_helpers import function_attributes from pyphocorehelpers.DataStructure.general_parameter_containers import VisualizationParameters, RenderPlotsData, RenderPlots from pyphocorehelpers.gui.PhoUIContainer import PhoUIContaine...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,093
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/BinnedImageRenderingWindow.py
import numpy as np import pyphoplacecellanalysis.External.pyqtgraph as pg from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtWidgets, mkQApp, QtGui from pyphoplacecellanalysis.External.pyqtgraph.colormap import ColorMap from pyphoplacecellanalysis.External.pyqtgraph.graphicsItems.GradientEditorItem import Gradi...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,094
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/Pho2D/PyQtPlots/TimeSynchronizedPlotters/TimeSynchronizedPositionDecoderPlotter.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.gen...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,095
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/External/breeze_style_sheets/example/advanced-dock.py
#!/usr/bin/env python # # The MIT License (MIT) # # Copyright (c) <2021-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,096
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Batch/PhoDiba2023Paper.py
from copy import deepcopy from typing import Dict, Callable from attrs import define, field import numpy as np import pandas as pd import matplotlib as mpl import matplotlib.patches as mpatches # used for plot_epoch_track_assignments from flexitext import flexitext ## flexitext version from pyphoplacecellanalysis.Gen...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,097
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Pipeline/NeuropyPipeline.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: pho NeuropyPipeline.py """ from copy import deepcopy import importlib import sys from pathlib import Path import shutil # for _backup_extant_file(...) from typing import Callable, List, Optional, Dict import inspect # used for filter_sessions(......
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,098
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyVista/InteractivePlotter/Mixins/InteractivePlotterMixins.py
import numpy as np import pyvista as pv from pyvista.plotting.plotting import Plotter # from pyvista.core.composite import MultiBlock from pyvistaqt import BackgroundPlotter from pyvistaqt.plotting import MultiPlotter from pyphoplacecellanalysis.Pho3D.PyVista.spikeAndPositions import point_location_circle, point_loca...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,099
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Mixins/TimeWindowPlaybackMixin.py
""" TimeWindowPlaybackMixin Extends a TimeWindow to support realtime playback capabilities. """ import time from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui, QtWidgets class TimeWindowPlaybackPropertiesMixin: """ TimeWindowPlaybackPropertiesMixin: Properties that implementors that want to ...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,100
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyVista/InteractivePlotter/__init__.py
# from InterfaceProperties import InterfaceProperties # from PhoInteractivePlotter import PhoInteractivePlotter
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,101
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/Qt/Mixins/PipelineOwningMixin.py
class PipelineOwningMixin: """ Implementors own a pipeline or have access through a parent """ @property def owning_pipeline(self): """The owning_pipeline property.""" if hasattr(self, '_owning_pipeline') and (self._owning_pipeline is not None): return self._owning_pipeline...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,102
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Windows/MainPipelineWindow.py
# MainPipelineWindow.py # Generated from c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\PyQtPlot\MainPipelineWindow.ui automatically by PhoPyQtClassGenerator VSCode Extension import sys from datetime import datetime, timezone, timedelta import numpy as np from enum import Enum from PyQt5 impo...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,103
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/Qt/Widgets/FloatingTreeWidget/FloatingTreeWidget.py
# FloatingTreeWidget.py # Generated from c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\Widgets\FloatingTreeWidget\FloatingTreeWidget.ui automatically by PhoPyQtClassGenerator VSCode Extension import sys import os from PyQt5 import QtGui, QtWidgets, uic from PyQt5.QtWidgets import QMessage...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,104
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/GraphicsObjects/CustomIntervalRectsItem.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,105
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/SpikeRasterWidgets/Spike3DRaster_Vedo.py
from io import StringIO import time import sys from copy import deepcopy import numpy as np import pandas as pd import pyphoplacecellanalysis.External.pyqtgraph as pg from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui, QtWidgets # pyqtgraph is only currently used for its Qt imports from vtk.qt.QVT...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,106
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/Qt/Menus/PhoMenuHelper.py
import re # regular expression for PhoMenuHelper from benedict import benedict from qtpy import QtCore, QtGui, QtWidgets from pyphocorehelpers.DataStructure.dynamic_parameters import DynamicParameters # for initialize_global_menu_ui_variables_if_needed from pyphocorehelpers.gui.PhoUIContainer import PhoUIContainer from...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,107
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/External/pyqtgraph/examples/VideoTemplate_pyside2.py
################################################################################ ## Form generated from reading UI file 'VideoTemplate.ui' ## ## Created by: Qt User Interface Compiler version 5.15.2 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ####################################...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,108
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/Pho2D/matplotlib/CustomMatplotlibWidget.py
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT as NavigationToolbar from matplotlib.figure import Figure import pyphoplacecellanalysis.External.pyqtgraph as pg from qtpy import QtCore, QtWidgets, QtGui from pyphocore...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,109
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/scripts/batch_run.py
from pyphoplacecellanalysis.General.Batch.runBatch import main, BatchRun if __name__ == "__main__": main()
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,110
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Model/Datasources/IntervalDatasource.py
from copy import copy, deepcopy import numpy as np import pandas as pd from neuropy.core import Epoch from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore from pyphoplacecellanalysis.General.Model.Datasources.Datasources import BaseDatasource, DataframeDatasource import pyphoplacecellanalysis.External.pyq...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,111
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyVista/InteractivePlotter/PhoInteractivePlotter.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: pho A class wrapper for PyVista's plotter class used to simplify adding interactive playback elements (animations) and storing common state for the purpose of 3D plotting. """ import pyvista as pv from pyvistaqt import BackgroundPlotter from pyphoplacecellan...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,112
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Pipeline/Stages/ComputationFunctions/ComputationFunctionRegistryHolder.py
from pyphocorehelpers.mixins.auto_registering import RegistryHolder from typing import Dict class ComputationFunctionRegistryHolder(RegistryHolder): REGISTRY: Dict[str, "ComputationFunctionRegistryHolder"] = {} @classmethod def get_registry(cls): """ ensures that registry items are returned so...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,113
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/PhoPositionalData/plotting/visualization_window.py
import numpy as np import pandas as pd from dataclasses import dataclass @dataclass class VisualizationWindow(object): """ Used in: InteractivePlaceCellDataExplorer: to hold the fixed-duration time windows for each path Usage: ## Simplified with just two windows: self.params....
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,114
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/Qt/PlacefieldVisualSelectionControlsBar/Uic_AUTOGEN_PlacefieldVisualSelectionControlsBarWidgetBase.py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\PlacefieldVisualSelectionControlsBar\PlacefieldVisualSelectionControlsBarWidgetBase.ui' # # Created by: PyQt5 UI code generator 5.15.7 # # WARNING: Any manual change...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,115
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/External/pyqtgraph/examples/PColorMeshItem.py
""" Demonstrates very basic use of PColorMeshItem """ import time import numpy as np import pyphoplacecellanalysis.External.pyqtgraph as pg from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore app = pg.mkQApp("PColorMesh Example") ## Create window with GraphicsView widget win = pg.GraphicsLayoutWidget()...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,116
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/tests/test_custom_pyqt_placefield_visibility_control.py
""" This example demonstrates the use of ColorBarItem, which displays a simple interactive color bar. """ import numpy as np import pyqtgraph as pg from pyqtgraph.Qt import QtCore, QtGui, QtWidgets, mkQApp from pyphocorehelpers.gui.PhoUIContainer import PhoUIContainer from pyphoplacecellanalysis.GUI.Qt.PlacefieldVi...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,117
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Pipeline/Stages/ComputationFunctions/MultiContextComputationFunctions/MultiContextComputationFunctions.py
import numpy as np import pandas as pd from functools import wraps from pyphocorehelpers.mixins.member_enumerating import AllFunctionEnumeratingMixin from pyphocorehelpers.function_helpers import function_attributes from pyphoplacecellanalysis.General.Pipeline.Stages.ComputationFunctions.ComputationFunctionRegistryHol...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,118
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/Pho3D/__init__.py
from .points import interlieve_points, lines_from_points from .spikes import draw_line_spike
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,119
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/Qt/Menus/GlobalApplicationMenusMainWindow/GlobalApplicationMenusMainWindow.py
# GlobalApplicationMenusMainWindow.py # Generated from c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\GlobalApplicationMenus\GlobalApplicationMenusMainWindow.ui automatically by PhoPyQtClassGenerator VSCode Extension import os import pyphoplacecellanalysis.External.pyqtgraph as pg from pyph...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,120
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Flowchart/CustomNodes/DisplayNodes/PipelineDisplayNode.py
import sys import importlib from pyphoplacecellanalysis.External.pyqtgraph.flowchart import Flowchart, Node from pyphoplacecellanalysis.External.pyqtgraph.flowchart.library.common import CtrlNode, PlottingCtrlNode import pyphoplacecellanalysis.External.pyqtgraph as pg import numpy as np # matplotlib: # import matplo...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,121
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/GLGraphicsItems/GLViewportOverlayPainterItem.py
from copy import deepcopy from typing import OrderedDict import OpenGL.GL as GL import pyphoplacecellanalysis.External.pyqtgraph as pg from pyphoplacecellanalysis.External.pyqtgraph.opengl import GLAxisItem, GLGraphicsItem, GLGridItem, GLViewWidget from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,122
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/SpikeRasterWidgets/spike_raster_widgets.py
# .SpikeRasterWidgets from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui, QtWidgets from pyphocorehelpers.gui.Qt.widget_positioning_helpers import WidgetPositioningHelpers from pyphoplacecellanalysis.GUI.PyQtPlot.Widgets.SpikeRasterWidgets.SpikeRasterBase import SpikeRasterBase from pyphoplacecell...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,123
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Flowchart/CustomNodes/MiscNodes/ExtendedCtrlNode.py
from pyphoplacecellanalysis.External.pyqtgraph.flowchart.library.common import generateUi, CtrlNode # from pyphoplacecellanalysis.External.pyqtgraph.Node import Node from pyphoplacecellanalysis.External.pyqtgraph.widgets.FeedbackButton import FeedbackButton from pyphoplacecellanalysis.External.pyqtgraph.widgets.CheckTa...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,124
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/Qt/Mixins/CheckTableCtrlOwningMixin.py
import numpy as np class CheckTableCtrlOwningMixin: """ Implementor owns a CheckTable control Required Properties: self.configRows = [] self.ctrls['included_configs_table'] """ @property def check_table_ctrl(self): """ The checktable control """ return sel...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,125
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Batch/NeptuneAiHelpers.py
import os from attrs import define, Factory, field import neptune # for logging progress and results from neptune.types import File import pathlib from pathlib import Path from neuropy.utils.result_context import IdentifyingContext from pyphocorehelpers.function_helpers import function_attributes """ if enable_nept...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,126
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/Qt/Unused/CustomGridLayout.py
from qtpy import QtWidgets, QtCore class CustomGridLayout(QtWidgets.QVBoxLayout): """ A replacement for QGridLayout that allows insert/deletion of rows into the layout at runtime to overcome the issue of being unable to set it https://stackoverflow.com/questions/42084879/how-to-insert-qwidgets-in-the-middle-of...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,127
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Flowchart/CustomNodes/BasePipeline/PipelineFilteringDataNode.py
from typing import OrderedDict from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtGui, QtCore from pyphoplacecellanalysis.External.pyqtgraph.widgets.ProgressDialog import ProgressDialog # pyPhoPlaceCellAnalysis: from pyphoplacecellanalysis.GUI.PyQtPlot.Flowchart.CustomNodes.MiscNodes.ExtendedCtrlNode import Ex...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,128
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/External/pyqtgraph/examples/PlotSpeedTest.py
#!/usr/bin/python """ Update a simple plot as rapidly as possible to measure speed. """ import argparse from collections import deque from time import perf_counter import numpy as np import pyphoplacecellanalysis.External.pyqtgraph as pg import pyphoplacecellanalysis.External.pyqtgraph.functions as fn import pyphopl...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,129
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyVista/InteractivePlotter/Model/InterfaceProperties.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: pho """ class InterfaceProperties(object): """ Holds user interface state, such as the current animation status or the slider's values """ def __init__(self, active_timestamp_slider_wrapper): # self.curr_plot_update_step = 1 # Update every fr...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,130
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Flowchart/CustomNodes/Mixins/AssociatedOutputWidgetNodeMixin.py
from pyphoplacecellanalysis.External.pyqtgraph.flowchart import Flowchart, Node import pyphoplacecellanalysis.External.pyqtgraph.flowchart.library as fclib from pyphoplacecellanalysis.External.pyqtgraph.flowchart.library.common import CtrlNode from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtGui, QtCore impor...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,131
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Pipeline/Stages/DisplayFunctions/Ratemaps.py
from copy import deepcopy import numpy as np import pandas as pd import matplotlib.pyplot as plt from neuropy.analyses.placefields import PfND from pyphocorehelpers.mixins.member_enumerating import AllFunctionEnumeratingMixin from pyphoplacecellanalysis.General.Pipeline.Stages.DisplayFunctions.DisplayFunctionRegistryH...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,132
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Flowchart/pyqtplot_Flowchart.py
from pyphoplacecellanalysis.External.pyqtgraph.flowchart import Flowchart, Node from pyphoplacecellanalysis.GUI.PyQtPlot.Flowchart.ReloadableNodeLibrary import ReloadableNodeLibrary from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtGui, QtCore, QtWidgets # Must be called before any figures are created: import...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,133
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/External/burst-detection-master/lib_final_ehv.py
import os, glob import csv import sys sys.setrecursionlimit(1500) import h5py import pickle import copy import numpy as np import scipy.ndimage.filters as filters import matplotlib as mpl import matplotlib.patches as mpatches import matplotlib.pyplot as plt plt.ion() # If you plan to run the script multiple times...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,134
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/Qt/Widgets/Testing/EpochsSelectionWidget.py
""" Create a pyqt5 class that creates the following gui, described from top to bottom: 1. Contains a label that says "Epochs:" 2. Contains a dynamic listbox containing the list of Epochs current displayed. Each row contains their title, a button to toggle their visibility, and a button to show an options window. """ im...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,135
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Pipeline/Stages/ComputationFunctions/ExtendedStats.py
from copy import deepcopy import numpy as np import pandas as pd from pyphocorehelpers.indexing_helpers import build_pairwise_indicies from scipy import stats # for compute_relative_entropy_divergence_overlap from scipy.special import rel_entr # alternative for compute_relative_entropy_divergence_overlap from pyphoc...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,136
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/PhoPositionalData/analysis/interactive_placeCell_config.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: pho """ import sys import numpy as np from pathlib import Path # refactored to pyphoplacecellanalysis.General.Configs.DynamicConfigs from pyphoplacecellanalysis.General.Configs.DynamicConfigs import VideoOutputModeConfig, PlottingConfig, InteractivePlaceCellC...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,137
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/External/breeze_style_sheets/example/whatsthis.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,138
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/Mixins/TimeCurves/actions/UNUSED_addRenderableActions.py
# addRenderableActions import pyphoplacecellanalysis.External.pyqtgraph as pg from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui, QtWidgets, mkQApp, uic from pyphoplacecellanalysis.Resources import GuiResources, ActionIcons from pyphoplacecellanalysis.GUI.PyQtPlot.Widgets.Mixins.TimeCurves.actions.U...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,139
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/External/breeze_style_sheets/configure.py
''' configure ========= Configure icons, stylesheets, and resource files. ''' __version__ = '0.1.0' import argparse import glob import json import os import re import shutil import subprocess import sys home = os.path.dirname(os.path.realpath(__file__)) dist = os.path.join(home, 'dist') qrc_dist = os.pa...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,140
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Flowchart/CustomNodes/Compute/PhoPythonEvalNode.py
import os import re from typing import final from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtGui, QtCore, QtWidgets translate = QtCore.QCoreApplication.translate from pyphoplacecellanalysis.External.pyqtgraph.flowchart.library.common import Node from pyphoplacecellanalysis.External.pyqtgraph.parametertree.p...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,141
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/tests/test_TestDecodedFilterEpochsResult.py
import unittest import sys, os from pathlib import Path from copy import deepcopy import numpy as np import pandas as pd # Add Neuropy to the path as needed tests_folder = Path(os.path.dirname(__file__)) root_project_folder = tests_folder.parent try: import pyphoplacecellanalysis except ModuleNotFoundError as e: ...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,142
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/Qt/Widgets/IdentifyingContextSelector/Uic_AUTOGEN_IdentifyingContextSelectorWidget.py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\Widgets\IdentifyingContextSelector\IdentifyingContextSelectorWidget.ui' # # Created by: PyQt5 UI code generator 5.15.4 # # WARNING: Any manual changes made to this f...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,143
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/tests/test_decoders.py
import unittest import sys, os from pathlib import Path from copy import deepcopy import numpy as np import pandas as pd # Add Neuropy to the path as needed tests_folder = Path(os.path.dirname(__file__)) root_project_folder = tests_folder.parent try: import pyphoplacecellanalysis except ModuleNotFoundError as e: ...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,144
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Mixins/InterfaceOptionsProvidingMixin.py
class InterfaceOptionsProvidingMixin: @property def epoch_labels(self): """The epoch_labels property.""" return list(self.sess.epochs.labels) # ['pre', 'maze1', 'post1', 'maze2', 'post2'] @property def epoch_named_timeranges(self): """The epoch_labels property. [<Na...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,145
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/Qt/Widgets/ProgrammaticPipelineWidget/ProgrammaticPipelineWidget.py
# ProgrammaticPipelineWidget.py # Generated from c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\Widgets\ProgrammaticPipelineWidget\ProgrammaticPipelineWidget.ui automatically by PhoPyQtClassGenerator VSCode Extension import sys import os from PyQt5 import QtGui, QtWidgets, QtCore, uic from...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,146
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/PhoPositionalData/plotting/mixins/occupancy_plotting_mixins.py
# occupancy_plotting_mixins.py # from pyphoplacecellanalysis.GUI.PyVista.InteractivePlotter.shared_helpers import PlotGroupWrapper import param from pyphoplacecellanalysis.Pho3D.PyVista.graphs import plot_3d_binned_bars, plot_point_labels from pyphoplacecellanalysis.PhoPositionalData.plotting.mixins.general_plotting_mi...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,147
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Pipeline/Stages/DisplayFunctions/EloyAnalysis.py
import numpy as np import pandas as pd from pyphocorehelpers.mixins.member_enumerating import AllFunctionEnumeratingMixin from pyphoplacecellanalysis.General.Pipeline.Stages.DisplayFunctions.DisplayFunctionRegistryHolder import DisplayFunctionRegistryHolder import pyphoplacecellanalysis.External.pyqtgraph as pg # for...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,148
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Flowchart/CustomNodes/DisplayNodes/ImageViewNode.py
from pyphoplacecellanalysis.External.pyqtgraph.flowchart import Flowchart, Node import pyphoplacecellanalysis.External.pyqtgraph.flowchart.library as fclib from pyphoplacecellanalysis.External.pyqtgraph.flowchart.library.common import CtrlNode from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtGui, QtCore impor...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,149
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Examples/pyqtplot_DockAreaLayouts.py
import pyphoplacecellanalysis.External.pyqtgraph as pg from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui import pyphoplacecellanalysis.External.pyqtgraph.console import numpy as np from pyphoplacecellanalysis.External.pyqtgraph.dockarea import * def plot_dockAreaWidget(title='PhoDockAreaWidgetAp...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,150
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/External/breeze_style_sheets/example/placeholder_text.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,151
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Pipeline/Stages/DisplayFunctions/DisplayFunctionRegistryHolder.py
from pyphocorehelpers.mixins.auto_registering import RegistryHolder from typing import Dict class DisplayFunctionRegistryHolder(RegistryHolder): REGISTRY: Dict[str, "DisplayFunctionRegistryHolder"] = {}
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,152
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/Pho2D/decoder_difference.py
import numpy as np import matplotlib.pyplot as plt from matplotlib.widgets import Slider from matplotlib.patches import FancyArrowPatch, FancyArrow from matplotlib import patheffects from pyphocorehelpers.gui.interaction_helpers import CallbackWrapper from pyphocorehelpers.function_helpers import function_attributes ...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,153
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/Qt/MainApplicationWindows/PhoPipelineMainWindow/MainPipelineWindowWithDockArea/MainPipelineWindowWithDockArea.py
# MainPipelineWindowWithDockArea.py # Generated from c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\PyQtPlot\Windows\MainPipelineWindowWithDockArea.ui automatically by PhoPyQtClassGenerator VSCode Extension import sys import os from datetime import datetime, timezone, timedelta import numpy as...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,154
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/Qt/NeuronVisualSelectionControls/NeuronVisualSelectionControlsWidgetBase.py
# NeuronVisualSelectionControlsWidgetBase.py # Generated from c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\NeuronVisualSelectionControls\NeuronVisualSelectionControlsWidgetBase.ui automatically by PhoPyQtClassGenerator VSCode Extension import sys import os from pathlib import Path from p...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,155
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Flowchart/CustomNodes/BasePipeline/PipelineInputDataNode.py
from pathlib import Path from pyphoplacecellanalysis.External.pyqtgraph.flowchart import Flowchart, Node import pyphoplacecellanalysis.External.pyqtgraph.flowchart.library as fclib from pyphoplacecellanalysis.External.pyqtgraph.flowchart.library.common import CtrlNode from pyphoplacecellanalysis.External.pyqtgraph.Qt i...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,156
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Batch/NonInteractiveProcessing.py
import sys from copy import deepcopy from pathlib import Path import numpy as np ## MATPLOTLIB Imports: import matplotlib import matplotlib.pyplot as plt import matplotlib as mpl from matplotlib.backends import backend_pdf from neuropy.core.session.Formats.BaseDataSessionFormats import DataSessionFormatRegistryHold...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,157
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Params/ParameterTrees/ExportPipelineParametersTree.py
import pyphoplacecellanalysis.External.pyqtgraph.parametertree.parameterTypes as pTypes from pyphoplacecellanalysis.External.pyqtgraph.parametertree import Parameter, ParameterTree from pyphoplacecellanalysis.GUI.PyQtPlot.Params.SaveRestoreStateParamHelpers import default_parameters_save_restore_state_button_children, ...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,158
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/PhoPositionalData/plotting/mixins/placefield_plotting_mixins.py
import param import numpy as np import pandas as pd from neuropy.core.neuron_identities import NeuronIdentityAccessingMixin from pyphocorehelpers.indexing_helpers import get_dict_subset from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore from pyphoplacecellanalysis.PhoPositionalData.plotting.mixins.genera...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,159
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Pipeline/Stages/FilterFunctions/FilterFunctionRegistryHolder.py
from pyphocorehelpers.mixins.auto_registering import RegistryHolder from typing import Dict class FilterFunctionRegistryHolder(RegistryHolder): REGISTRY: Dict[str, "FilterFunctionRegistryHolder"] = {} """ FilterPipelineStage self.registered_filter_function_dict = OrderedDict() self.register_default_known_...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,160
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/Pho2D/PyQtPlots/TimeSynchronizedPlotters/TimeSynchronizedPlotterBase.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.gener...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,161
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/PhoPositionalData/import_data.py
# -*- coding: utf-8 -*- """ Created on Sat Oct 9 12:33:48 2021 @author: Pho # TODO: this seems to relate to loading RoyMaze1! Does/Did that functionality work in Python? """ import numpy as np import pandas as pd from pathlib import Path from pyphoplacecellanalysis.PhoPositionalData.load_exported import import_m...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,162
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/External/breeze_style_sheets/example/dial.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,163
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/Qt/Widgets/DecoderPlotSelectorControls/Uic_AUTOGEN_DecoderPlotSelectorWidget.py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\Widgets\DecoderPlotSelectorControls\DecoderPlotSelectorWidget.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,164
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Pipeline/Stages/DisplayFunctions/MultiContextComparingDisplayFunctions/MultiContextComparingDisplayFunctions.py
from copy import deepcopy import numpy as np import matplotlib.pyplot as plt from neuropy.utils.dynamic_container import overriding_dict_with # required for _display_2d_placefield_result_plot_raw from pyphocorehelpers.function_helpers import function_attributes from pyphocorehelpers.programming_helpers import metadat...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,165
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Pipeline/Stages/DisplayFunctions/SpikeRasters.py
from typing import Any, Union from copy import deepcopy import numpy as np import pandas as pd from functools import partial from attrs import define, Factory from indexed import IndexedOrderedDict from neuropy.core.neuron_identities import NeuronIdentityAccessingMixin from neuropy.utils.result_context import overwrit...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,166
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Model/Datasources/Datasources.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 BaseDatasource(SimplePrintable, PrettyPrintab...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,167
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/Pho3D/PyVista/gui.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: pho User Interface Rendering and interactivity helpers TODO: REORGANIZE_PLOTTER_SCRIPTS: PyVista """ import numpy as np import pyvista as pv from pyphocorehelpers.gui.PyVista.PhoCustomVtkWidgets import PhoWidgetHelper def print_controls_helper_text(): ...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,168
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/Qt/Widgets/DecoderPlotSelectorControls/DecoderPlotSelectorWidget.py
# DecoderPlotSelectorWidget.py # Generated from c:\Users\pho\repos\pyPhoPlaceCellAnalysis\src\pyphoplacecellanalysis\GUI\Qt\DecoderPlotSelectorWidget\DecoderPlotSelectorWidget.ui automatically by PhoPyQtClassGenerator VSCode Extension import pyphoplacecellanalysis.External.pyqtgraph as pg from pyphoplacecellanalysis.Ex...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,169
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/External/breeze_style_sheets/example/standard_icons.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,170
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/SpikeRasterWidgets/Spike3DRaster.py
from copy import deepcopy import time import sys 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 from pyphocorehelpers.indexing_...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,171
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyVista/InteractivePlotter/Mixins/AnimationStateMixin.py
class AnimationStateBaseMixin: """ used by AnimationStateVTKMixin (specialized for VTK) which is in-turn used by PhoInteractivePlotter Required Properties: self.interface_properties.animation_state """ # define the animation switch def toggle_animation(self, state): self.inte...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,172
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/Pho2D/PyQtPlots/TimeSynchronizedPlotters/Mixins/AnimalTrajectoryPlottingMixin.py
# AnimalTrajectoryPlottingMixin import numpy as np import pyphoplacecellanalysis.External.pyqtgraph as pg from qtpy import QtCore, QtWidgets class AnimalTrajectoryPlottingMixin: """ custom mixin class Used by TimeSynchronizedOccupancyPlotter and TimeSynchronizedPlacefieldsPlotter """ @p...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,173
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/GUI/PyQtPlot/Widgets/GraphicsObjects/CustomInfiniteLine.py
from pyphoplacecellanalysis.External.pyqtgraph.Qt import QtCore, QtGui from pyphoplacecellanalysis.External.pyqtgraph.graphicsItems.InfiniteLine import InfiniteLine class CustomInfiniteLine(InfiniteLine): """ A custom pg.InfiniteLine subclass with custom requirements to hold a customizable modifier key or mouse b...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}
94,174
CommanderPho/pyPhoPlaceCellAnalysis
refs/heads/master
/src/pyphoplacecellanalysis/General/Mixins/SpikesRenderingBaseMixin.py
from typing import OrderedDict import numpy as np import pandas as pd # from pyphoplacecellanalysis.PhoPositionalData.plotting.mixins.spikes_mixins import SpikesDataframeOwningMixin, SpikeRenderingMixin, HideShowSpikeRenderingMixin from pyphocorehelpers.indexing_helpers import safe_get from pyphocorehelpers.DataStruct...
{"/src/pyphoplacecellanalysis/Pho3D/__init__.py": ["/src/pyphoplacecellanalysis/Pho3D/points.py", "/src/pyphoplacecellanalysis/Pho3D/spikes.py"]}