text
string
label
int64
{'name': 'get_libpython@commands/python.py', 'description': 'Searches for the Python library, e.g. libpython<version>.so.\nUsed by setup.py to set PYTHON_LDLIBRARY, and by scripts to set up LD_PRELOAD.', 'signature': 'def get_libpython():'}</s>{'name': 'is_osx@commands/util.py', 'description': 'DOCSTRING', 'code': "def...
0
{'name': 'load@robopianist/music/__init__.py', 'description': 'Make a MidiFile object from a path or name.\n\nArgs:\n path_or_name: Path or name of the midi file.\n stretch: Temporal stretch factor. Values greater than 1.0 slow down a song, and\n values less than 1.0 speed it up.\n shift: Number of semi...
0
{'name': 'Runner.test_input_extension@auto_editor/cmds/test.py', 'description': 'Input file must have an extension. Throw error if none is given.', 'signature': 'def test_input_extension(self):'}</s>{'name': 'initFileInfo@auto_editor/ffwrapper.py', 'description': 'DOCSTRING', 'code': 'def initFileInfo(path: str, log: L...
0
{'name': 'update_notice_box_ui@addon_updater_ops.py', 'description': 'Update notice draw, to add to the end or beginning of a panel.\n\nAfter a check for update has occurred, this function will draw a box\nsaying an update is ready, and give a button for: update now, open website,\nor ignore popup. Ideal to be placed a...
0
{'name': 'points_at@copycat/slipnode.py', 'description': 'Whether any of the links points at the other', 'signature': 'def points_at(links, other):'}</s>{'name': 'Slipnode@copycat/slipnode.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Slipnode.__init__@copycat/slipnode.py', 'description': '...
0
{'name': 'do_vcs_install@versioneer.py', 'description': 'Git-specific installation logic for Versioneer.\n\nFor Git, this means creating/changing .gitattributes to mark _version.py\nfor export-subst keyword substitution.', 'signature': 'def do_vcs_install(versionfile_source: str, ipy: Optional[str]) -> None:'}</s>{'nam...
0
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'imfilter2D_SpatialDomain@training_codes/utils/utils_model.py', 'description': 'If the input and the kernel are both multichannel tensors then each\nchannel of the input is filtered by the corresponding channel of the \nkernel.Otherwise, if kernel has a single channel each channel of the input\nis filtered by ...
0
{'name': 'callback@scripts/build.py', 'description': 'Build tools.', 'signature': 'def callback() -> None:'}</s>{'name': 'main@scripts/build.py', 'description': 'DOCSTRING', 'code': 'def main() -> None:\n app()'}
0
{'name': 'condition@altair/vegalite/v3/api.py', 'description': 'A conditional attribute or encoding\n\nParameters\n----------\npredicate: Selection, LogicalOperandPredicate, expr.Expression, dict, or string\n the selection predicate or test predicate for the condition.\n if a string is passed, it will be treated ...
0
{'name': 'JobQueue._run_step_local@worker/bioqueue.py', 'description': 'Parameters\n----------\njob : Task\n Task object\nstdout_to : str\n\nstderr_to : str\n\n\nReturns\n-------', 'signature': 'def _run_step_local(self, job, stdout_to, stderr_to):'}</s>{'name': 'load_output_dict@worker/bases.py', 'description': 'DO...
0
{'name': 'Message.from_pydict@src/betterproto/__init__.py', 'description': 'Parse the key/value pairs into the current message instance. This returns the\ninstance itself and is therefore assignable and chainable.\n\nParameters\n-----------\nvalue: Dict[:class:`str`, Any]\n The dictionary to parse from.\n\nReturns\n...
0
{'name': 'TrimmedMatchDesignTest.testTooFewGeos@trimmed_match/design/tests/trimmed_match_design_test.py', 'description': 'Checks no design is returned if we have less than 10 pairs.', 'signature': 'def testTooFewGeos(self):'}</s>{'name': 'GeoXType@trimmed_match/design/common_classes.py', 'description': 'Defines the typ...
1
{'name': 'inject_envoy_http_proxy_fixture@benchmarks/envoy_proxy.py', 'description': 'Injects an Envoy proxy in front of the test server.\n\nNOTE: Depends on the proxy_config fixture, which must be explicitly imported\ninto the consuming module when using this fixture.\n\nArgs:\n request: supplies the ip version.\n s...
0
{'name': 'TestToivanen.test_euclidean_dist_output@tests/test_toivanen.py', 'description': 'Explanation:\n\nTaking euclidean distance with x==0 below:\nx-------------\n| |\n| |\n| |\n| |\n| |\n| |\n--------------\n\nThe max distance in euclidean output wi...
0
{'name': 'get_root_node@airflow_code_editor/tree.py', 'description': 'Get tree root node', 'signature': 'def get_root_node(path: Optional[str], args: Args) -> TreeOutput:'}</s>TreeFunc = Callable[[Optional[str], Args], TreeOutput]
0
{'name': 'resolveAndSplit@ValveFileSystem/path.py', 'description': "recursively expands all environment variables and '..' tokens in a pathname", 'signature': 'def resolveAndSplit(path, envDict=None, raiseOnMissing=False):'}</s>{'name': 'gamePath@ValveFileSystem/valve.py', 'description': "allows you do specify a path u...
0
{'name': 'run_training_loop@projects/reinforcement learning/covid19_confounder/utils.py', 'description': 'Trains a neural network policy using policy gradients.\nParameters\n----------\nn_iter: number of training iterations\nmax_episode_length: episode length, up to 400\nbatch_size: number of steps used in each iterati...
1
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'TLP.unpack@fpga/lib/pcie/tb/pcie.py', 'description': 'Unpack TLP from DWORD array', 'signature': 'def unpack(self, pkt):'}</s>FMT_4DW = 1
1
{'name': 'RepeatChart.interactive@altair/vegalite/v3/api.py', 'description': 'Make chart axes scales interactive\n\nParameters\n----------\nname : string\n The selection name to use for the axes scales. This name should be\n unique among all selections within the chart.\nbind_x : boolean, default True\n If tru...
0
{'name': 'cache_page@ring/django.py', 'description': "The drop-in-replacement of Django's per-view cache.\n\nUse this decorator instead of\n:func:`django.views.decorators.cache.cache_page`.\nThe decorated view function itself is compatible. Ring decorated function\nadditionally have ring-styled sub-functions. In the co...
0
{'name': '_tokenize_large_file_content@onlinejudge_command/pretty_printers.py', 'description': '`_tokenize_large_file_content` constructs the intermediate representations. They have no color infomation.\n ', 'signature': 'def _tokenize_large_file_content(*, content: bytes, limit: int, head: int, tail: int, char_in_l...
0
{'name': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'get_global_world_size@fairseq/distributed/utils.py', 'description': 'DOCSTRING', 'code': 'def get_global_world_size():\n if use_xla():\n return xm.xrt_wo...
0
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie...
0
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>{'name': '_VarintDecoder@python/google/protobuf/internal/decoder.py', 'description': 'Return an encoder for a basic varint value ...
0
{'name': 'CardPredictor.img_first_pre@lib/img_function.py', 'description': ':param car_pic_file: 图像文件\n:return:已经处理好的图像文件 原图像文件', 'signature': 'def img_first_pre(self, car_pic_file):'}</s>Min_Area = 2000
0
{'name': 'retry_on_expired_cookie@infoblox_client/connector.py', 'description': 'Decorator to handle expired cookies by re-authenticating\nand retrying the request.', 'signature': 'def retry_on_expired_cookie(func):'}</s>{'name': 'try_value_to_bool@infoblox_client/utils.py', 'description': "Tries to convert value into ...
0
{'name': 'DifferentialExpressionTestWald.plot_vs_ttest@diffxpy/testing/det.py', 'description': 'Normalizes data by size factors if any were used in model.\n\n:param log10:\n:param show: Whether (if save is not None) and where (save indicates dir and file stem) to display plot.\n:param save: Path+file name stem to save ...
0
{'name': 'TableOne._create_tableone@tableone/tableone.py', 'description': 'Create table 1 by combining the continuous and categorical tables.\n\nReturns\n----------\ntable : pandas DataFrame\n The complete table one.', 'signature': 'def _create_tableone(self, data):'}</s>{'name': 'TableOne@tableone/tableone.py', 'de...
1
{'name': 'Iso.__init__@IsoSpecPy/IsoSpecPy.py', 'description': 'Initialize Iso.\n\nArgs:\n formula (str): a chemical formula, e.g. "C2H6O1" or "C2H6O".\n get_confs (boolean): should we report counts of isotopologues?\n atomCounts (list): a list of atom counts (alternative to \'formula\').\n isotopeMasses (l...
1
{'name': 'RidgeLogisticRegression.fit@parsimony/estimators.py', 'description': 'Fit the estimator to the data.\n ', 'signature': 'def fit(self, X, y, beta=None, sample_weight=None):'}</s>{'name': 'multiblock_array@parsimony/utils/check_arrays.py', 'description': 'Checks that a given array is a multiblock array, ...
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'OtpErlangAtom.binary@src/api/python/erlang.py', 'description': 'return encoded representation', 'signature': 'def binary(self):'}</s>{'name': 'OtpErlangPid@src/api/python/erlang.py', 'description': 'OtpErlangPid', 'base_classes': ['object'], 'methods': [{'name': 'OtpErlangPid.__init__@src/api/python/erlang.py...
0
{'name': 'convert_to_en_symbols@text/__init__.py', 'description': 'Converts built-in korean symbols to english, to be used for english training\n ', 'signature': 'def convert_to_en_symbols():'}</s>_curly_re = re.compile(r'(.*?)\{(.+?)\}(.*)')
0
{'name': 'BaseRequest.is_xhr@src/back/kite/bottle.py', 'description': 'True if the request was triggered by a XMLHttpRequest. This only\nworks with JavaScript libraries that support the `X-Requested-With`\nheader (most of the popular libraries do). ', 'signature': 'def is_xhr(self):'}</s>{'name': 'tob@src/back/kite/bot...
0
{'name': 'ConfigObj._parse@BlDevCube/lib.bflb_configobj.pyc.py', 'description': 'Actually parse the config file.', 'signature': 'def _parse(self, infile):'}</s>{'name': 'SimpleVal@BlDevCube/lib.bflb_configobj.pyc.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'SimpleVal.__init__@BlDev...
0
{'name': 'DebugCmd.complete_keywords@DebugLibrary/debugcmd.py', 'description': 'Complete keywords command.', 'signature': 'def complete_keywords(self, text, line, begin_idx, end_idx):'}</s>{'name': 'get_debug_prompt_tokens@DebugLibrary/styles.py', 'description': 'Print prompt-toolkit prompt.', 'code': 'def get_debug_pr...
0
{'name': 'CosS3Client.change_object_storage_class@qcloud_cos/cos_client.py', 'description': "改变文件的存储类型\n\n:param Bucket(string): 存储桶名称.\n:param Key(string): COS路径.\n:param StorageClass(bool): 是否需要SDK计算Content-MD5,打开此开关会增加上传耗时.\n:kwargs(dict): 设置上传的headers.\n:return(dict): 上传成功返回的结果,包含ETag等信息.\n\n.. code-block:: python\...
0
{'name': 'height_width@object_detection/core/box_list_ops.py', 'description': 'Computes height and width of boxes in boxlist.\n\nArgs:\n boxlist: BoxList holding N boxes\n scope: name scope.\n\nReturns:\n Height: A tensor with shape [N] representing box heights.\n Width: A tensor with shape [N] representing box wid...
0
{'name': 'TestMessage_BruteForce.test_Mandatory2@tests/python/runtime/messaging/test_brute_force.py', 'description': 'Ensures messages are correct on 2nd step', 'signature': 'def test_Mandatory2(self): '}</s>MESSAGE_NAME = "Message"
1
{'name': 'deploy_grafana_config@tools/deploy_grafana.py', 'description': 'Deploy Grafana ConfigMap', 'signature': 'def deploy_grafana_config(conf_file):'}</s>{'name': 'deployer@tools/deploy_grafana.py', 'description': 'Wrapper for oc/kubectl apply -f', 'code': 'def deployer(src_file, topic):\n \'\'\'Wrapper for oc/k...
0
{'name': 'qald_run@utils/data_preparation_rdf_type.py', 'description': "'\n\nIf the query contains only rdf constraint and no other triple, it will push the rdf type to the\nconstraint candidate and there will be no positive or negative path in the query.\n\n'path_id': [u'+25212']", 'signature': 'def qald_run(test = T...
0
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i...
0
{'name': 'run_random_climate@oggm/core/flowline.py', 'description': 'Runs the random mass balance model for a given number of years.\n\nThis will initialize a\n:py:class:`oggm.core.massbalance.MultipleFlowlineMassBalance`,\nand run a :py:func:`oggm.core.flowline.flowline_model_run`.\n\nParameters\n----------\ngdir : :p...
0
{'name': '_disjoint@stix2matcher/matcher.py', 'description': "Checks whether the values in first sequence are disjoint from the\nvalues in the sequences in rest_seq.\n\nAll 'None' values in the sequences are ignored.\n\n:return: True if first_seq is disjoint from the rest, False otherwise.", 'signature': 'def _disjoint...
0
{'name': 'load_chained_operator@streaming/python/raystreaming/operator.py', 'description': 'Load chained operator from serialized operators and configs', 'signature': 'def load_chained_operator(chained_operator_bytes: bytes):'}</s>{'name': 'FilterOperator@streaming/python/raystreaming/operator.py', 'description': 'Oper...
0
{'name': 'varname@varname/core.py', 'description': "Get the name of the variable(s) that assigned by function call or\nclass instantiation.\n\nTo debug and specify the right frame and ignore arguments, you can set\ndebug on and see how the frames are ignored or selected:\n\n>>> from varname import config\n>>> config.de...
1
{'name': 'WiderResNet.__init__@pytorch_toolbelt/modules/backbone/wider_resnet.py', 'description': 'Wider ResNet with pre-activation (identity mapping) blocks\n\nParameters\n----------\nstructure : list of int\n Number of residual blocks in each of the six modules of the network.\nnorm_act : callable\n Function to...
1
{'name': 'get_language_pack@jupyterlab_server/translation_utils.py', 'description': 'Get a language pack for a given `locale_` and update with any installed\npackage locales.\n\nReturns\n-------\ntuple\n A tuple in the form `(locale_data_dict, message)`.\n\nNotes\n-----\nWe call `_get_installed_language_pack_locales...
0
{'name': 'CheckComment@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Checks for common mistakes in TODO comments.\n\nArgs:\n comment: The text of the comment from the line in question.\n filename: The name of the current file.\n linenum: The number of the line to check.\n error: The function to call ...
0
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>PF_DIVERT_PACKET = 3
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMD_INQUIRE_CHANNEL_NAMES = 20
0
{'name': 'Adapter.delete_connection@_bleio/common.py', 'description': 'Remove the specified connection of the list of connections held by the adapter.\n(Blinka _bleio only).', 'signature': 'def delete_connection(self, connection: Connection) -> None:'}</s>{'name': 'BluetoothError@_bleio/exceptions.py', 'description': '...
0
{'name': 'PropKB.tell@Projects/2_Classical Planning/aimacode/logic.py', 'description': "Add the sentence's clauses to the KB.", 'signature': 'def tell(self, sentence):'}</s>{'name': 'move_not_inwards@Projects/2_Classical Planning/aimacode/logic.py', 'description': 'Rewrite sentence s by moving negation sign inward.\n>>...
0
{'name': 'MaintenanceModeMiddleware.process_request@maintenancemode/middleware.py', 'description': 'Check if the current site is in maintenance.', 'signature': 'def process_request(self, request):'}</s>{'name': 'MaintenanceModeMiddleware@maintenancemode/middleware.py', 'description': 'DOCSTRING', 'base_classes': ['_bas...
1
{'name': 'Pix2Pix.fit@src/Pix2Pix/Pix2Pix.py', 'description': 'Parameters: \n model_name: Resume the training from saved checkpoint with file - "model_name"\n epoch_decay: Number of epochs after which learning rate starts decaying', 'signature': 'def fit(self, nb_epochs: int = 400, d_lr: float = 2e-4, g_lr: floa...
0
{'name': 'T@ctensor/tensor.py', 'description': 'Transpose a 3-d matrix, [batch x N x M].', 'signature': 'def T(x):'}</s>{'name': 'make_tensor_like@ctensor/tensor.py', 'description': 'Make the operand a tensor.', 'code': "def make_tensor_like(another, sel):\n '''Make the operand a tensor.'''\n\n assert isinstance(...
0
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i...
0
{'name': 'register_adapter@psycopg2/extensions.py', 'description': "Register 'callable' as an ISQLQuote adapter for type 'typ'.", 'signature': 'def register_adapter(typ, callable):'}</s>STATUS_READY = 1
0
{'name': 'MetricList.get_sql_and_with_clause@metrics.py', 'description': "Gets the SQL query and WITH clause.\n\nThe query is constructed by\n1. Get the query for every children metric.\n2. If all children queries are compatible, we just collect all the columns\n from the children and use the WHERE and GROUP BY clause...
0
{'name': 'RPCBindTest.run_allowip_test@qa/rpc-tests/rpcbind_test.py', 'description': 'Start a node with rpcallow IP, and request getnetworkinfo\nat a non-localhost IP.', 'signature': 'def run_allowip_test(self, allow_ips, rpchost, rpcport):'}</s>{'name': 'PortSeed@qa/rpc-tests/test_framework/util.py', 'description': 'D...
0
{'name': 'GefRemoteSessionManager.connect@gef.py', 'description': 'Connect to remote target. If in extended mode, also attach to the given PID.', 'signature': 'def connect(self, pid: int) -> bool:'}</s>{'name': 'gef_execute_external@gef.py', 'description': 'Execute an external command and return the result.', 'code': '...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_CFH_MSG_SEQ_NUMBER_ERR = 3004
0
{'name': 'add_handlers@jupyterlab_server/handlers.py', 'description': 'Add the appropriate handlers to the web app.', 'signature': 'def add_handlers(handlers: list[Any], extension_app: LabServerApp) -> None:'}</s>{'name': 'ListingsHandler@jupyterlab_server/listings_handler.py', 'description': 'An handler that returns t...
1
{'name': 'MacroExpander.parseValues@main/toolkit/src2xml/source/srcparser.py', 'description': "Parse tokens to get macro function variable values.\n\nBe aware that there is an implicit quotes around the text between the open\nparen, the comma(s), and the close paren. For instance, if a macro is defined\nas FOO(a, b) a...
0
{'name': 'space_minify@htmlmin/minify.py', 'description': 'recursive function to reduce space characters in html code.\n\n:param soup: a BeautifulSoup of the code to reduce\n:type soup: bs4.BeautifulSoup\n:param ignore_comments: whether or not to keep comments in the\n result\n:type ignore_commen...
1
{'name': '_Partition.t_test@diffxpy/testing/tests.py', 'description': "Performs a Welch's t-test within each partition of a data set.\n\nSee also annotation of de.test.t_test()\n\n:param grouping: str\n\n - column in data.obs/sample_description which contains the split of observations into the two groups.\n:param is...
0
{'name': 'make_pre_dropout_animation@manim_ml/neural_network/animations/dropout.py', 'description': 'Makes an animation that sets up the NN layer for dropout', 'signature': 'def make_pre_dropout_animation('}</s>{'name': 'make_neural_network_dropout_animation@manim_ml/neural_network/animations/dropout.py', 'description'...
0
{'name': 'ZWaveDeviceEntity.device_info@custom_components/zwave_mqtt/entity.py', 'description': 'Return device information for the device registry.', 'signature': 'def device_info(self):'}</s>SERVICE_REMOVE_NODE = "remove_node"
0
{'name': 'odeint_event@torchdiffeq/_impl/odeint.py', 'description': 'Automatically links up the gradient from the event time.', 'signature': 'def odeint_event(func, y0, t0, *, event_fn, reverse_time=False, odeint_interface=odeint, **kwargs):'}</s>{'name': 'Heun2@torchdiffeq/_impl/fixed_grid.py', 'description': 'DOCSTRI...
0
{'name': 'AutoReject.transform@autoreject/autoreject.py', 'description': 'Remove bad epochs, repairs sensors and returns clean epochs.\n\nParameters\n----------\nepochs : instance of mne.Epochs\n The epochs object which must be cleaned.\n\nreturn_log : bool\n If true the rejection log is also returned.\n\nreject_...
0
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw...
0
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>MASK_C_LD = 57347
0
{'name': 'Api.render_doc@flask_restx/api.py', 'description': 'Override this method to customize the documentation page', 'signature': 'def render_doc(self):'}</s>apidoc = Apidoc( "restx_doc", __name__, template_folder="templates", static_folder="static", static_url_path="/swaggerui", )
1
{'name': 'GetBestInterface@comtypes/client/_managing.py', 'description': "Try to QueryInterface a COM pointer to the 'most useful'\ninterface.\n\nGet type information for the provided object, either via\nIDispatch.GetTypeInfo(), or via IProvideClassInfo.GetClassInfo().\nGenerate a wrapper module for the typelib, and QI...
0
{'name': 'findpeaks.peaks2d@findpeaks/findpeaks.py', 'description': "Detect peaks and valleys in a 2D-array or image.\n\nDescription\n-----------\nTo handle 2D-arrays or images. Use the .fit() function for more information regarding the input parameters:\n * method : Method to be used for peak detection: 'topology',...
0
{'name': 'skew@pymeteo/skewt.py', 'description': 'Puts the skew in skew-T\n\n:parameter p: pressure level of the point.\n\nThis calculates the skew of the T axis for a point to plot. \nThis assumes a logarithmic y axes and uses the variable\n:py:data:skew_angle to determine the skew. This is the \nmagic that turns a ...
0
{'name': 'trash_with_confirmation.execute@config/ranger/commands.py', 'description': 'Execute the command.', 'signature': 'def execute(self):'}</s>{'name': 'show_files_in_finder@config/ranger/commands.py', 'description': 'Present selected files in finder.', 'base_classes': ['Command'], 'methods': [{'name': 'show_files_...
0
{'name': 'ProcessGlobalSuppresions@tools/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty if the file is...
0
{'name': 'Toolbar.getNewPanel@exporter/SynthesisFusionAddin/src/UI/Toolbar.py', 'description': '# Gets a control for a panel to the tabbed toolbar visibility', 'signature': 'def getNewPanel(name: str, tab_id: str, toolbar_id: str, visibility: bool = True) -> str | None:'}</s>INTERNAL_ID = "Synthesis"
0
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>PFR_OP_MATCH = 1
0
{'name': 'main@spatialmedia/__main__.py', 'description': 'Main function for printing and injecting spatial media metadata.', 'signature': 'def main():'}</s>{'name': 'Metadata@spatialmedia/metadata_utils.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Metadata.__init__@spatialmedia/met...
1
{'name': 'Path.asGameModRelative@ValveFileSystem/path.py', 'description': "Returns a path instance that is relative to the mod if the path is under the game tree.\nIf the path doesn't match the game tree, the original filepath is returned.", 'signature': 'def asGameModRelative(self):'}</s>{'name': 'RelativePathToFullPa...
0
{'name': 'GefHelpCommand.__rebuild@gef.py', 'description': 'Rebuild the documentation.', 'signature': 'def __rebuild(self) -> None:'}</s>{'name': 'HighlightAddCommand@gef.py', 'description': 'Add a match to the highlight table.', 'base_classes': ['GenericCommand'], 'methods': [{'name': 'HighlightAddCommand.do_invoke@ge...
0
{'name': 'VersatileImageFieldTestCase.test_registration_exceptions@tests/tests.py', 'description': 'Ensure all registration-related exceptions fire as expected.', 'signature': 'def test_registration_exceptions(self):'}</s>{'name': 'validate_ppoi_tuple@versatileimagefield/validators.py', 'description': 'Validates that a...
0
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ...
0
{'name': 'SessionRedirectMixin.resolve_redirects@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/sessions.py', 'description': 'Receives a Response. Returns a generator of Responses.', 'signature': 'def resolve_redirects(self, resp, req, stream=False, timeout=None,'}</s>{'name': 'SessionRedirectMixi...
1
{'name': 'process_assignments_and_deletions@da/compiler/incgen.py', 'description': 'Generate stub and hook for assignments and deletions.\n\nThis should be called after the query parameters have been accumulated.', 'signature': 'def process_assignments_and_deletions(state):'}</s>STUB_ASSIGN_JB = " def {1}(_{0}): gl...
0
{'name': 'PropertyArray.dict@policy/policy.py', 'description': 'Return a dictionary containing all contained NEAT property attributes', 'signature': 'def dict(self):'}</s>REST_IP = "0.0.0.0"
0
{'name': 'type_inference@06_prepare/data-wrangler/data_wrangler_antje.py', 'description': 'Core type inference logic\n\nArgs:\n df: spark dataframe\n\nReturns: dict a schema that maps from column name to mohave datatype', 'signature': 'def type_inference(df): # noqa: C901 # pylint: disable=R0912'}</s>{'name': 'conv...
0
{'name': 'GTestHelpTest.TestHelpFlag@Engine/lib/gtest/googletest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when help flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.\n\nArgs:\n flag: A flag to pass to the binary or None.', ...
1
{'name': 'parse_args@src/python_scripts/afnipy/lib_cdiflist.py', 'description': 'Go through user-entered options and fill an object with the values.\nThese will be used to setup plotting.', 'signature': 'def parse_args(full_argv):'}</s>{'name': 'read_afni_seed_file@src/python_scripts/afnipy/afni_util.py', 'description'...
0
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
0
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'URLopener.open_ftp@src/future/backports/urllib/request.py', 'description': 'Use FTP protocol.', 'signature': 'def open_ftp(self, url):'}</s>MAXFTPCACHE = 10
1
{'name': 'get_reader@meza/io.py', 'description': "Gets the appropriate reader for a given file extension.\n\nArgs:\n extension (str): The file extension.\n\nReturns:\n func: The file reading function\n\nSee also:\n `meza.io.read`\n\nRaises:\n TypeError: If unable to find a suitable reader.\n\nExamples:\n ...
0
{'name': 'go@grizli/pipeline/auto_script.py', 'description': 'Run the full pipeline for a given target\n\nParameters\n----------\nroot : str\n Rootname of the `mastquery` file.\n\nextract_maglim : [min, max]\n Magnitude limits of objects to extract and fit.', 'signature': "def go(root='j010311+131615', "}</s>{'na...
0
{'name': 'follow_device@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Follow the selected device', 'signature': 'def follow_device(sniffer, device):'}</s>{'name': 'goodbye@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'DOCSTRING', 'code': 'def goodbye():\n logging.info("Exiting PID {}"....
0
{'name': 'water_depth@raspisump/reading.py', 'description': 'Determine the depth of the water, log result and generate alert\nif needed.', 'signature': 'def water_depth():'}</s>{'name': 'smtp_alerts@raspisump/alerts.py', 'description': 'Send email alert if water level greater than critical distance.', 'code': 'def smtp...
0