initial commit
This commit is contained in:
384
mne/utils/__init__.pyi
Normal file
384
mne/utils/__init__.pyi
Normal file
@@ -0,0 +1,384 @@
|
||||
__all__ = [
|
||||
"ArgvSetter",
|
||||
"Bunch",
|
||||
"BunchConst",
|
||||
"BunchConstNamed",
|
||||
"ClosingStringIO",
|
||||
"ExtendedTimeMixin",
|
||||
"GetEpochsMixin",
|
||||
"ProgressBar",
|
||||
"SizeMixin",
|
||||
"TimeMixin",
|
||||
"_DefaultEventParser",
|
||||
"_PCA",
|
||||
"_ReuseCycle",
|
||||
"_TempDir",
|
||||
"_apply_scaling_array",
|
||||
"_apply_scaling_cov",
|
||||
"_arange_div",
|
||||
"_array_equal_nan",
|
||||
"_array_repr",
|
||||
"_assert_no_instances",
|
||||
"_auto_weakref",
|
||||
"_build_data_frame",
|
||||
"_check_all_same_channel_names",
|
||||
"_check_ch_locs",
|
||||
"_check_channels_spatial_filter",
|
||||
"_check_combine",
|
||||
"_check_compensation_grade",
|
||||
"_check_decim",
|
||||
"_check_depth",
|
||||
"_check_dict_keys",
|
||||
"_check_dt",
|
||||
"_check_edfio_installed",
|
||||
"_check_eeglabio_installed",
|
||||
"_check_event_id",
|
||||
"_check_fname",
|
||||
"_check_freesurfer_home",
|
||||
"_check_head_radius",
|
||||
"_check_if_nan",
|
||||
"_check_info_inv",
|
||||
"_check_integer_or_list",
|
||||
"_check_method_kwargs",
|
||||
"_check_on_missing",
|
||||
"_check_one_ch_type",
|
||||
"_check_option",
|
||||
"_check_pandas_index_arguments",
|
||||
"_check_pandas_installed",
|
||||
"_check_preload",
|
||||
"_check_pybv_installed",
|
||||
"_check_pymatreader_installed",
|
||||
"_check_qt_version",
|
||||
"_check_range",
|
||||
"_check_rank",
|
||||
"_check_sphere",
|
||||
"_check_src_normal",
|
||||
"_check_stc_units",
|
||||
"_check_subject",
|
||||
"_check_time_format",
|
||||
"_clean_names",
|
||||
"_click_ch_name",
|
||||
"_compute_row_norms",
|
||||
"_convert_times",
|
||||
"_custom_lru_cache",
|
||||
"_doc_special_members",
|
||||
"_date_to_julian",
|
||||
"_dt_to_stamp",
|
||||
"_empty_hash",
|
||||
"_ensure_events",
|
||||
"_ensure_int",
|
||||
"_explain_exception",
|
||||
"_file_like",
|
||||
"_freq_mask",
|
||||
"_gen_events",
|
||||
"_get_argvalues",
|
||||
"_get_blas_funcs",
|
||||
"_get_call_line",
|
||||
"_get_extra_data_path",
|
||||
"_get_inst_data",
|
||||
"_get_numpy_libs",
|
||||
"_get_root_dir",
|
||||
"_get_stim_channel",
|
||||
"_hashable_ndarray",
|
||||
"_import_h5io_funcs",
|
||||
"_import_h5py",
|
||||
"_import_nibabel",
|
||||
"_import_pymatreader_funcs",
|
||||
"_is_numeric",
|
||||
"_julian_to_date",
|
||||
"_mask_to_onsets_offsets",
|
||||
"_on_missing",
|
||||
"_parse_verbose",
|
||||
"_path_like",
|
||||
"_pl",
|
||||
"_prepare_read_metadata",
|
||||
"_prepare_write_metadata",
|
||||
"_raw_annot",
|
||||
"_record_warnings",
|
||||
"_reg_pinv",
|
||||
"_reject_data_segments",
|
||||
"_repeated_svd",
|
||||
"_replace_md5",
|
||||
"_require_version",
|
||||
"_resource_path",
|
||||
"_safe_input",
|
||||
"_scale_dataframe_data",
|
||||
"_scaled_array",
|
||||
"_set_pandas_dtype",
|
||||
"_soft_import",
|
||||
"_stamp_to_dt",
|
||||
"_suggest",
|
||||
"_svd_lwork",
|
||||
"_sym_mat_pow",
|
||||
"_time_mask",
|
||||
"_to_rgb",
|
||||
"_undo_scaling_array",
|
||||
"_undo_scaling_cov",
|
||||
"_url_to_local_path",
|
||||
"_validate_type",
|
||||
"_verbose_safe_false",
|
||||
"array_split_idx",
|
||||
"assert_and_remove_boundary_annot",
|
||||
"assert_dig_allclose",
|
||||
"assert_meg_snr",
|
||||
"assert_object_equal",
|
||||
"assert_snr",
|
||||
"assert_stcs_equal",
|
||||
"buggy_mkl_svd",
|
||||
"catch_logging",
|
||||
"check_fname",
|
||||
"check_random_state",
|
||||
"check_version",
|
||||
"compute_corr",
|
||||
"copy_doc",
|
||||
"copy_function_doc_to_method_doc",
|
||||
"create_slices",
|
||||
"deprecated",
|
||||
"deprecated_alias",
|
||||
"eigh",
|
||||
"fill_doc",
|
||||
"filter_out_warnings",
|
||||
"get_config",
|
||||
"get_config_path",
|
||||
"get_subjects_dir",
|
||||
"grand_average",
|
||||
"has_freesurfer",
|
||||
"has_mne_c",
|
||||
"hashfunc",
|
||||
"int_like",
|
||||
"legacy",
|
||||
"linkcode_resolve",
|
||||
"logger",
|
||||
"object_diff",
|
||||
"object_hash",
|
||||
"object_size",
|
||||
"open_docs",
|
||||
"path_like",
|
||||
"pformat",
|
||||
"pinv",
|
||||
"pinvh",
|
||||
"random_permutation",
|
||||
"repr_html",
|
||||
"requires_freesurfer",
|
||||
"requires_good_network",
|
||||
"requires_mne",
|
||||
"requires_mne_mark",
|
||||
"requires_openmeeg_mark",
|
||||
"run_command_if_main",
|
||||
"run_subprocess",
|
||||
"running_subprocess",
|
||||
"set_cache_dir",
|
||||
"set_config",
|
||||
"set_log_file",
|
||||
"set_log_level",
|
||||
"set_memmap_min_size",
|
||||
"sizeof_fmt",
|
||||
"split_list",
|
||||
"sqrtm_sym",
|
||||
"sum_squared",
|
||||
"sys_info",
|
||||
"use_log_level",
|
||||
"verbose",
|
||||
"warn",
|
||||
"wrapped_stdout",
|
||||
]
|
||||
from ._bunch import Bunch, BunchConst, BunchConstNamed
|
||||
from ._logging import (
|
||||
ClosingStringIO,
|
||||
_get_call_line,
|
||||
_parse_verbose,
|
||||
_record_warnings,
|
||||
_verbose_safe_false,
|
||||
catch_logging,
|
||||
filter_out_warnings,
|
||||
logger,
|
||||
set_log_file,
|
||||
set_log_level,
|
||||
use_log_level,
|
||||
verbose,
|
||||
warn,
|
||||
wrapped_stdout,
|
||||
)
|
||||
from ._testing import (
|
||||
ArgvSetter,
|
||||
_click_ch_name,
|
||||
_raw_annot,
|
||||
_TempDir,
|
||||
assert_and_remove_boundary_annot,
|
||||
assert_dig_allclose,
|
||||
assert_meg_snr,
|
||||
assert_object_equal,
|
||||
assert_snr,
|
||||
assert_stcs_equal,
|
||||
buggy_mkl_svd,
|
||||
has_freesurfer,
|
||||
has_mne_c,
|
||||
requires_freesurfer,
|
||||
requires_good_network,
|
||||
requires_mne,
|
||||
requires_mne_mark,
|
||||
requires_openmeeg_mark,
|
||||
run_command_if_main,
|
||||
)
|
||||
from .check import (
|
||||
_check_all_same_channel_names,
|
||||
_check_ch_locs,
|
||||
_check_channels_spatial_filter,
|
||||
_check_combine,
|
||||
_check_compensation_grade,
|
||||
_check_depth,
|
||||
_check_dict_keys,
|
||||
_check_edfio_installed,
|
||||
_check_eeglabio_installed,
|
||||
_check_event_id,
|
||||
_check_fname,
|
||||
_check_freesurfer_home,
|
||||
_check_head_radius,
|
||||
_check_if_nan,
|
||||
_check_info_inv,
|
||||
_check_integer_or_list,
|
||||
_check_method_kwargs,
|
||||
_check_on_missing,
|
||||
_check_one_ch_type,
|
||||
_check_option,
|
||||
_check_pandas_index_arguments,
|
||||
_check_pandas_installed,
|
||||
_check_preload,
|
||||
_check_pybv_installed,
|
||||
_check_pymatreader_installed,
|
||||
_check_qt_version,
|
||||
_check_range,
|
||||
_check_rank,
|
||||
_check_sphere,
|
||||
_check_src_normal,
|
||||
_check_stc_units,
|
||||
_check_subject,
|
||||
_check_time_format,
|
||||
_ensure_events,
|
||||
_ensure_int,
|
||||
_import_h5io_funcs,
|
||||
_import_h5py,
|
||||
_import_nibabel,
|
||||
_import_pymatreader_funcs,
|
||||
_is_numeric,
|
||||
_on_missing,
|
||||
_path_like,
|
||||
_require_version,
|
||||
_safe_input,
|
||||
_soft_import,
|
||||
_suggest,
|
||||
_to_rgb,
|
||||
_validate_type,
|
||||
check_fname,
|
||||
check_random_state,
|
||||
check_version,
|
||||
int_like,
|
||||
path_like,
|
||||
)
|
||||
from .config import (
|
||||
_get_extra_data_path,
|
||||
_get_numpy_libs,
|
||||
_get_root_dir,
|
||||
_get_stim_channel,
|
||||
get_config,
|
||||
get_config_path,
|
||||
get_subjects_dir,
|
||||
set_cache_dir,
|
||||
set_config,
|
||||
set_memmap_min_size,
|
||||
sys_info,
|
||||
)
|
||||
from .dataframe import (
|
||||
_build_data_frame,
|
||||
_convert_times,
|
||||
_scale_dataframe_data,
|
||||
_set_pandas_dtype,
|
||||
)
|
||||
from .docs import (
|
||||
_doc_special_members,
|
||||
copy_doc,
|
||||
copy_function_doc_to_method_doc,
|
||||
deprecated,
|
||||
deprecated_alias,
|
||||
fill_doc,
|
||||
legacy,
|
||||
linkcode_resolve,
|
||||
open_docs,
|
||||
)
|
||||
from .fetching import _url_to_local_path
|
||||
from .linalg import (
|
||||
_get_blas_funcs,
|
||||
_repeated_svd,
|
||||
_svd_lwork,
|
||||
_sym_mat_pow,
|
||||
eigh,
|
||||
pinv,
|
||||
pinvh,
|
||||
sqrtm_sym,
|
||||
)
|
||||
from .misc import (
|
||||
_assert_no_instances,
|
||||
_auto_weakref,
|
||||
_clean_names,
|
||||
_DefaultEventParser,
|
||||
_empty_hash,
|
||||
_explain_exception,
|
||||
_file_like,
|
||||
_get_argvalues,
|
||||
_pl,
|
||||
_resource_path,
|
||||
pformat,
|
||||
repr_html,
|
||||
run_subprocess,
|
||||
running_subprocess,
|
||||
sizeof_fmt,
|
||||
)
|
||||
from .mixin import (
|
||||
ExtendedTimeMixin,
|
||||
GetEpochsMixin,
|
||||
SizeMixin,
|
||||
TimeMixin,
|
||||
_check_decim,
|
||||
_prepare_read_metadata,
|
||||
_prepare_write_metadata,
|
||||
)
|
||||
from .numerics import (
|
||||
_PCA,
|
||||
_apply_scaling_array,
|
||||
_apply_scaling_cov,
|
||||
_arange_div,
|
||||
_array_equal_nan,
|
||||
_array_repr,
|
||||
_check_dt,
|
||||
_compute_row_norms,
|
||||
_custom_lru_cache,
|
||||
_date_to_julian,
|
||||
_dt_to_stamp,
|
||||
_freq_mask,
|
||||
_gen_events,
|
||||
_get_inst_data,
|
||||
_hashable_ndarray,
|
||||
_julian_to_date,
|
||||
_mask_to_onsets_offsets,
|
||||
_reg_pinv,
|
||||
_reject_data_segments,
|
||||
_replace_md5,
|
||||
_ReuseCycle,
|
||||
_scaled_array,
|
||||
_stamp_to_dt,
|
||||
_time_mask,
|
||||
_undo_scaling_array,
|
||||
_undo_scaling_cov,
|
||||
array_split_idx,
|
||||
compute_corr,
|
||||
create_slices,
|
||||
grand_average,
|
||||
hashfunc,
|
||||
object_diff,
|
||||
object_hash,
|
||||
object_size,
|
||||
random_permutation,
|
||||
split_list,
|
||||
sum_squared,
|
||||
)
|
||||
from .progressbar import ProgressBar
|
||||
Reference in New Issue
Block a user