Skip to content

Commit

Permalink
Update stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenhater committed Aug 8, 2024
1 parent dc87003 commit 25c253d
Show file tree
Hide file tree
Showing 4 changed files with 815 additions and 1,482 deletions.
173 changes: 9 additions & 164 deletions python/stubs/arbor/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ from arbor._arbor import poisson_schedule
from arbor._arbor import print_config
from arbor._arbor import probe
from arbor._arbor import proc_allocation
from arbor._arbor import profiler_initialize
from arbor._arbor import profiler_summary
from arbor._arbor import recipe
from arbor._arbor import regular_schedule
from arbor._arbor import reversal_potential
Expand All @@ -132,168 +134,11 @@ from arbor._arbor import units
from arbor._arbor import voltage_process
from arbor._arbor import write_component
from . import _arbor

__all__ = [
"ArbFileNotFoundError",
"ArbValueError",
"MechCatItemIterator",
"MechCatKeyIterator",
"MechCatValueIterator",
"allen_catalogue",
"asc_color",
"asc_marker",
"asc_marker_set",
"asc_metadata",
"asc_spine",
"axial_resistivity",
"backend",
"bbp_catalogue",
"benchmark_cell",
"build_catalogue",
"cable",
"cable_cell",
"cable_component",
"cable_global_properties",
"cable_probe_axial_current",
"cable_probe_density_state",
"cable_probe_density_state_cell",
"cable_probe_ion_current_cell",
"cable_probe_ion_current_density",
"cable_probe_ion_diff_concentration",
"cable_probe_ion_diff_concentration_cell",
"cable_probe_ion_ext_concentration",
"cable_probe_ion_ext_concentration_cell",
"cable_probe_ion_int_concentration",
"cable_probe_ion_int_concentration_cell",
"cable_probe_membrane_voltage",
"cable_probe_membrane_voltage_cell",
"cable_probe_point_info",
"cable_probe_point_state",
"cable_probe_point_state_cell",
"cable_probe_stimulus_current_cell",
"cable_probe_total_current_cell",
"cable_probe_total_ion_current_cell",
"cable_probe_total_ion_current_density",
"catalogue",
"cell_address",
"cell_cv_data",
"cell_global_label",
"cell_kind",
"cell_local_label",
"cell_member",
"component_meta_data",
"config",
"connection",
"context",
"cv_data",
"cv_policy",
"cv_policy_every_segment",
"cv_policy_explicit",
"cv_policy_fixed_per_branch",
"cv_policy_max_extent",
"cv_policy_single",
"decor",
"default_catalogue",
"density",
"domain_decomposition",
"env",
"event_generator",
"explicit_schedule",
"ext_concentration",
"extent",
"gap_junction_connection",
"group_description",
"iclamp",
"int_concentration",
"intersect_region",
"ion_data",
"ion_dependency",
"ion_diffusivity",
"ion_settings",
"isometry",
"junction",
"label_dict",
"lif_cell",
"lif_probe_metadata",
"lif_probe_voltage",
"load_asc",
"load_catalogue",
"load_component",
"load_swc_arbor",
"load_swc_neuron",
"loaded_morphology",
"location",
"mechanism",
"mechanism_field",
"mechanism_info",
"membrane_capacitance",
"membrane_potential",
"meter_manager",
"meter_report",
"mnpos",
"modcc",
"morphology",
"morphology_provider",
"mpoint",
"msegment",
"neuroml",
"neuron_cable_properties",
"nml_metadata",
"partition_by_group",
"partition_hint",
"partition_load_balance",
"place_pwlin",
"poisson_schedule",
"print_config",
"probe",
"proc_allocation",
"recipe",
"regular_schedule",
"reversal_potential",
"reversal_potential_method",
"scaled_mechanism",
"schedule_base",
"segment_tree",
"selection_policy",
"simulation",
"single_cell_model",
"spike",
"spike_recording",
"spike_source_cell",
"stochastic_catalogue",
"swc_metadata",
"synapse",
"temperature",
"threshold_detector",
"trace",
"units",
"voltage_process",
"write_component",
]

def build_catalogue(): ...
def modcc(): ...

__config__: dict = {
"mpi": False,
"mpi4py": False,
"gpu": None,
"vectorize": True,
"profiling": False,
"neuroml": True,
"bundled": True,
"version": "0.9.1-dev",
"source": "2024-03-01T14:59:23+01:00 dcdfe101f389cb4854ac3d0a067feeb280600c88 modified",
"build_config": "DEBUG",
"arch": "native",
"prefix": "/usr/local",
"python_lib_path": "/usr/local/lib/python3.12/site-packages",
"binary_path": "bin",
"lib_path": "lib",
"data_path": "share",
"CXX": "/opt/homebrew/bin/clang++",
"pybind-version": "2.11.1",
"timestamp": "Mar 4 2024 20:56:20",
}
__version__: str = "0.9.1-dev"
__all__ = ['ArbFileNotFoundError', 'ArbValueError', 'MechCatItemIterator', 'MechCatKeyIterator', 'MechCatValueIterator', 'allen_catalogue', 'asc_color', 'asc_marker', 'asc_marker_set', 'asc_metadata', 'asc_spine', 'axial_resistivity', 'backend', 'bbp_catalogue', 'benchmark_cell', 'build_catalogue', 'cable', 'cable_cell', 'cable_component', 'cable_global_properties', 'cable_probe_axial_current', 'cable_probe_density_state', 'cable_probe_density_state_cell', 'cable_probe_ion_current_cell', 'cable_probe_ion_current_density', 'cable_probe_ion_diff_concentration', 'cable_probe_ion_diff_concentration_cell', 'cable_probe_ion_ext_concentration', 'cable_probe_ion_ext_concentration_cell', 'cable_probe_ion_int_concentration', 'cable_probe_ion_int_concentration_cell', 'cable_probe_membrane_voltage', 'cable_probe_membrane_voltage_cell', 'cable_probe_point_info', 'cable_probe_point_state', 'cable_probe_point_state_cell', 'cable_probe_stimulus_current_cell', 'cable_probe_total_current_cell', 'cable_probe_total_ion_current_cell', 'cable_probe_total_ion_current_density', 'catalogue', 'cell_address', 'cell_cv_data', 'cell_global_label', 'cell_kind', 'cell_local_label', 'cell_member', 'component_meta_data', 'config', 'connection', 'context', 'cv_data', 'cv_policy', 'cv_policy_every_segment', 'cv_policy_explicit', 'cv_policy_fixed_per_branch', 'cv_policy_max_extent', 'cv_policy_single', 'decor', 'default_catalogue', 'density', 'domain_decomposition', 'env', 'event_generator', 'explicit_schedule', 'ext_concentration', 'extent', 'gap_junction_connection', 'group_description', 'iclamp', 'int_concentration', 'intersect_region', 'ion_data', 'ion_dependency', 'ion_diffusivity', 'ion_settings', 'isometry', 'junction', 'label_dict', 'lif_cell', 'lif_probe_metadata', 'lif_probe_voltage', 'load_asc', 'load_catalogue', 'load_component', 'load_swc_arbor', 'load_swc_neuron', 'loaded_morphology', 'location', 'mechanism', 'mechanism_field', 'mechanism_info', 'membrane_capacitance', 'membrane_potential', 'meter_manager', 'meter_report', 'mnpos', 'modcc', 'morphology', 'morphology_provider', 'mpoint', 'msegment', 'neuroml', 'neuron_cable_properties', 'nml_metadata', 'partition_by_group', 'partition_hint', 'partition_load_balance', 'place_pwlin', 'poisson_schedule', 'print_config', 'probe', 'proc_allocation', 'profiler_initialize', 'profiler_summary', 'recipe', 'regular_schedule', 'reversal_potential', 'reversal_potential_method', 'scaled_mechanism', 'schedule_base', 'segment_tree', 'selection_policy', 'simulation', 'single_cell_model', 'spike', 'spike_recording', 'spike_source_cell', 'stochastic_catalogue', 'swc_metadata', 'synapse', 'temperature', 'threshold_detector', 'trace', 'units', 'voltage_process', 'write_component']
def build_catalogue():
...
def modcc():
...
__config__: dict = {'mpi': False, 'mpi4py': False, 'gpu': None, 'vectorize': True, 'profiling': True, 'neuroml': True, 'bundled': True, 'version': '0.9.1-dev', 'source': '2024-04-11T13:13:43+02:00 8dac3a25b35f3e73f7ad50c27bd06d018e10bb6f modified', 'build_config': 'RELEASE', 'arch': 'native', 'prefix': '/usr/local', 'python_lib_path': '/opt/homebrew/lib/python3.12/site-packages', 'binary_path': 'bin', 'lib_path': 'lib', 'data_path': 'share', 'CXX': '/opt/homebrew/bin/clang++', 'pybind-version': '2.11.1', 'timestamp': 'Apr 11 2024 20:38:51'}
__version__: str = '0.9.1-dev'
mnpos: int = 4294967295
Loading

0 comments on commit 25c253d

Please sign in to comment.