sequence
stringlengths
557
12.7k
docstring
stringlengths
4
15.2k
(module (function_definition (function_name__crmod_to_abmn) function_name__crmod_to_abmn (parameters (identifier_self) identifier_self (identifier_configs) identifier_configs )parameters (block (expression_statement (assignment (identifier_A) identifier_A ...
convert crmod-style configurations to a Nx4 array CRMod-style configurations merge A and B, and M and N, electrode numbers into one large integer each: .. math :: AB = A \cdot 10^4 + B MN = M \cdot 10^4 + N Parameters ---------- configs: numpy...
(module (function_definition (function_name_remove_user) function_name_remove_user (parameters (identifier_name) identifier_name (dictionary_splat_pattern (identifier_client_args) identifier_client_args )dictionary_splat_pattern )parameters (block (if_statement ...
Remove a user. name Name of the user to remove CLI Example: .. code-block:: bash salt '*' influxdb.remove_user <name>
(module (function_definition (function_name___cache) function_name___cache (parameters (identifier_self) identifier_self (identifier_file) identifier_file (identifier_content) identifier_content (identifier_document) identifier_document )parameters (block (expression_stat...
Caches given file. :param file: File to cache. :type file: unicode :param content: File content. :type content: list :param document: File document. :type document: QTextDocument
(module (function_definition (function_name_iter_init_append) function_name_iter_init_append (parameters (identifier_self) identifier_self )parameters (block (expression_statement (string_"creates a Message.AppendIter for appending arguments to the Message.") string_"creates a Mess...
creates a Message.AppendIter for appending arguments to the Message.
(module (function_definition (function_name_release_package) function_name_release_package (parameters (identifier_self) identifier_self (typed_parameter (identifier_package_name) identifier_package_name (type (identifier_str) identifier_str )type )typed_par...
Returns the release id generated by releasing a package on the current registry. Requires ``web3.PM`` to have a registry set. Requires ``web3.eth.defaultAccount`` to be the registry owner. * Parameters: * ``package_name``: Must be a valid package name, matching the given manifest. ...
(module (function_definition (function_name__parse_parameter_options) function_name__parse_parameter_options (parameters (identifier_self) identifier_self (identifier_options) identifier_options )parameters (block (return_statement (call (attribute (iden...
Select all unknown options. Select all unknown options (not query string, API, or request options)
(module (function_definition (function_name_getSignalHeaders) function_name_getSignalHeaders (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_signalHeader) identifier_signalHeader (list )lis...
Returns the header of all signals as array of dicts Parameters ---------- None
(module (function_definition (function_name_get_sky_diffuse) function_name_get_sky_diffuse (parameters (identifier_surface_tilt) identifier_surface_tilt (identifier_surface_azimuth) identifier_surface_azimuth (identifier_solar_zenith) identifier_solar_zenith (identifier_solar_azimuth) ...
r""" Determine in-plane sky diffuse irradiance component using the specified sky diffuse irradiance model. Sky diffuse models include: * isotropic (default) * klucher * haydavies * reindl * king * perez Parameters ---------- surface_tilt : numeri...
(module (function_definition (function_name_get_vertices) function_name_get_vertices (parameters (identifier_self) identifier_self (default_parameter (identifier_indexed) identifier_indexed (None) None )default_parameter )parameters (block (if_statement ...
Get the vertices Parameters ---------- indexed : str | None If Note, return an array (N,3) of the positions of vertices in the mesh. By default, each unique vertex appears only once. If indexed is 'faces', then the array will instead contain three ...
(module (function_definition (function_name_set_base_location) function_name_set_base_location (parameters (identifier_self) identifier_self (identifier_location) identifier_location )parameters (block (expression_statement (assignment (attribute (identi...
Configure the project's base location
(module (function_definition (function_name_get_for_control_var_and_eval_expr) function_name_get_for_control_var_and_eval_expr (parameters (identifier_comm_type) identifier_comm_type (identifier_kwargs) identifier_kwargs )parameters (block (expression_statement (assignment ...
Returns tuple that consists of control variable name and iterable that is result of evaluated expression of given for loop. For example: - given 'for $i in $(echo "foo bar")' it returns (['i'], ['foo', 'bar']) - given 'for $i, $j in $foo' it returns (['i', 'j'], [('foo', 'bar')])
(module (function_definition (function_name_logregularize) function_name_logregularize (parameters (identifier_self) identifier_self (default_parameter (identifier_epsilon) identifier_epsilon (binary_operator (integer_2) integer_2 (unary_operator (in...
Find bins in the denominator that are 0, and set them to 1, while setting the corresponding bin in the numerator to float epsilon. This has the effect of allowing the logarithm of the ratio array to be evaluated without error.
(module (function_definition (function_name__title_uptodate) function_name__title_uptodate (parameters (identifier_self) identifier_self (identifier_fullfile) identifier_fullfile (identifier_pid) identifier_pid (identifier__title) identifier__title )parameters (block (exp...
Check fb photo title against provided title, returns true if they match
(module (function_definition (function_name_generate_password) function_name_generate_password (parameters (identifier_mode) identifier_mode (identifier_length) identifier_length )parameters (block (expression_statement (assignment (identifier_r) identifier_r ...
generate a random password
(module (function_definition (function_name_make_certificate_signing_request) function_name_make_certificate_signing_request (parameters (identifier_pkey) identifier_pkey (default_parameter (identifier_digest) identifier_digest (string_'sha512') string_'sha512' )default_param...
Make a certificate signing request. :param OpenSSL.crypto.PKey pkey: A private key. :param str digest: A valid digest to use. For example, `sha512`. :param name: Key word arguments containing subject name parts: C, ST, L, O, OU, CN. :return: A certificate signing request. :rtype: :class:`OpenSSL.crypto.X...
(module (function_definition (function_name_read_stats) function_name_read_stats (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (pattern_list (identifier_captions) identifier_captions (identifier_...
Reads the statistics view from IXN and saves it in statistics dictionary.
(module (function_definition (function_name_tag) function_name_tag (parameters (identifier_self) identifier_self (identifier_path) identifier_path (identifier_name) identifier_name )parameters (block (if_statement (not_operator (comparison_operator ...
Change name associated with path
(module (function_definition (function_name_getParameters) function_name_getParameters (parameters (identifier_self) identifier_self (identifier_contactItem) identifier_contactItem )parameters (block (expression_statement (assignment (identifier_isVIP) identifier_is...
Return a list containing a single parameter suitable for changing the VIP status of a person. @type contactItem: L{_PersonVIPStatus} @rtype: C{list} of L{liveform.Parameter}
(module (function_definition (function_name_addMonitor) function_name_addMonitor (parameters (identifier_self) identifier_self (identifier_monitor) identifier_monitor )parameters (block (expression_statement (assignment (identifier_token) identifier_token ...
Subscribe to SingleLayer2DExperiment events. @param monitor (SingleLayer2DExperimentMonitor) An object that implements a set of monitor methods @return (object) An opaque object that can be used to refer to this monitor.
(module (function_definition (function_name_unicode_to_string) function_name_unicode_to_string (parameters (identifier_self) identifier_self )parameters (block (for_statement (identifier_tag) identifier_tag (attribute (identifier_self) identifier_self (i...
Convert unicode in string
(module (function_definition (function_name__tile_image) function_name__tile_image (parameters (identifier_self) identifier_self (identifier_data) identifier_data )parameters (block (expression_statement (assignment (identifier_image) identifier_image (cal...
Tile binary content as PIL Image.
(module (function_definition (function_name_load) function_name_load (parameters (identifier_self) identifier_self (identifier_filename) identifier_filename (identifier_offset) identifier_offset )parameters (block (try_statement (block (expression_statement ...
Loads HFS+ volume information
(module (function_definition (function_name_apply_change) function_name_apply_change (parameters (identifier_self) identifier_self (identifier_path) identifier_path (list_splat_pattern (identifier_args) identifier_args )list_splat_pattern )parameters (block (if_st...
Take a single change from a Delta and apply it to this model
(module (function_definition (function_name_compute_mean_reward) function_name_compute_mean_reward (parameters (identifier_rollouts) identifier_rollouts (identifier_clipped) identifier_clipped )parameters (block (expression_statement (assignment (identifier_reward_n...
Calculate mean rewards from given epoch.
(module (function_definition (function_name_setDaemon) function_name_setDaemon (parameters (identifier_self) identifier_self (identifier_runnable) identifier_runnable (identifier_isdaemon) identifier_isdaemon (default_parameter (identifier_noregister) identifier_noregister ...
If a runnable is a daemon, it will not keep the main loop running. The main loop will end when all alived runnables are daemons.
(module (function_definition (function_name__output) function_name__output (parameters (identifier_self) identifier_self (identifier_message) identifier_message (identifier_verbosity) identifier_verbosity (identifier_exact) identifier_exact (identifier_stream) identifier_stream ...
Output a message if the config's verbosity is >= to the given verbosity. If exact == True, the message will only be outputted if the given verbosity exactly matches the config's verbosity.
(module (function_definition (function_name_fetch) function_name_fetch (parameters (identifier_code) identifier_code )parameters (block (expression_statement (assignment (identifier_ret) identifier_ret (dictionary )dictionary )assignment ...
Fetch keywords by Code
(module (function_definition (function_name_get_install_value) function_name_get_install_value (parameters (identifier_self) identifier_self (identifier_value_name) identifier_value_name (default_parameter (identifier_wanted_type) identifier_wanted_type (None) None )def...
For the uninstall section of the registry return the name value. Args: value_name (str): Registry value name. wanted_type (str): The type of value wanted if the type does not match None is return. wanted_type support values are ``str`` ``i...
(module (function_definition (function_name_fft_convolve) function_name_fft_convolve (parameters (identifier_data) identifier_data (identifier_h) identifier_h (default_parameter (identifier_res_g) identifier_res_g (None) None )default_parameter (default_parameter ...
convolves data with kernel h via FFTs data should be either a numpy array or a OCLArray (see doc for fft) both data and h should be same shape if data/h are OCLArrays, then: - type should be complex64 - shape should be equal and power of two - h is assumed to be already fftshi...
(module (function_definition (function_name_from_int) function_name_from_int (parameters (identifier_cls) identifier_cls (identifier_integer) identifier_integer )parameters (block (expression_statement (assignment (identifier_bin_string) identifier_bin_string ...
Constructs a `Deleted` using the `tinyint` value of the `rev_deleted` column of the `revision` MariaDB table. * DELETED_TEXT = 1 * DELETED_COMMENT = 2 * DELETED_USER = 4 * DELETED_RESTRICTED = 8
(module (function_definition (function_name_split_all) function_name_split_all (parameters (identifier_reference) identifier_reference (identifier_sep) identifier_sep )parameters (block (expression_statement (assignment (identifier_parts) identifier_parts ...
Splits a given string at a given separator or list of separators. :param reference: The reference to split. :param sep: Separator string or list of separator strings. :return: A list of split strings
(module (function_definition (function_name_steady_state_potential) function_name_steady_state_potential (parameters (identifier_xdata) identifier_xdata (default_parameter (identifier_HistBins) identifier_HistBins (integer_100) integer_100 )default_parameter )parameters ...
Calculates the steady state potential. Used in fit_radius_from_potentials. Parameters ---------- xdata : ndarray Position data for a degree of freedom HistBins : int Number of bins to use for histogram of xdata. Number of position points at which the potential is ca...
(module (function_definition (function_name_load_writer_configs) function_name_load_writer_configs (parameters (identifier_writer_configs) identifier_writer_configs (identifier_ppp_config_dir) identifier_ppp_config_dir (dictionary_splat_pattern (identifier_writer_kwargs) identifier_w...
Load the writer from the provided `writer_configs`.
(module (function_definition (function_name_map_compute_fov) function_name_map_compute_fov (parameters (typed_parameter (identifier_m) identifier_m (type (attribute (attribute (identifier_tcod) identifier_tcod (identifier_map) identifier_...
Compute the field-of-view for a map instance. .. deprecated:: 4.5 Use :any:`tcod.map.Map.compute_fov` instead.
(module (function_definition (function_name__get_char_pixels) function_name__get_char_pixels (parameters (identifier_self) identifier_self (identifier_s) identifier_s )parameters (block (if_statement (boolean_operator (comparison_operator (call ...
Internal. Safeguards the character indexed dictionary for the show_message function below
(module (function_definition (function_name_get_lastfunction_header) function_name_get_lastfunction_header (parameters (identifier_self) identifier_self (identifier_header) identifier_header (default_parameter (identifier_default_return_value) identifier_default_return_value ...
Returns a specific header from the last API call This will return None if the header is not present :param header: (required) The name of the header you want to get the value of Most useful for the following header information: x-rate-limit-limit, ...
(module (function_definition (function_name_to_mapping) function_name_to_mapping (parameters (identifier_self) identifier_self (dictionary_splat_pattern (identifier_values) identifier_values )dictionary_splat_pattern )parameters (block (expression_statement (ass...
Create a JSON-serializable representation of the plane that is usable with the javascript frontend
(module (function_definition (function_name_to_str) function_name_to_str (parameters (identifier_self) identifier_self (default_parameter (identifier_separator) identifier_separator (string_'') string_'' )default_parameter )parameters (block (if_statement ...
Build a string from the source sequence. The elements of the query result will each coerced to a string and then the resulting strings concatenated to return a single string. This allows the natural processing of character sequences as strings. An optional separator which will be insert...
(module (function_definition (function_name__check_typecode_list) function_name__check_typecode_list (parameters (identifier_ofwhat) identifier_ofwhat (identifier_tcname) identifier_tcname )parameters (block (for_statement (identifier_o) identifier_o (identifier_ofwha...
Check a list of typecodes for compliance with Struct requirements.
(module (function_definition (function_name_text) function_name_text (parameters (identifier_self) identifier_self )parameters (block (function_definition (function_name__problem_iter) function_name__problem_iter (parameters (identifier_problem_num) identifier_pro...
Parses problems.txt and returns problem text
(module (function_definition (function_name_edit_dedicated_fwl_rules) function_name_edit_dedicated_fwl_rules (parameters (identifier_self) identifier_self (identifier_firewall_id) identifier_firewall_id (identifier_rules) identifier_rules )parameters (block (expression_statemen...
Edit the rules for dedicated firewall. :param integer firewall_id: the instance ID of the dedicated firewall :param list rules: the rules to be pushed on the firewall as defined by SoftLayer_Network_Firewall_Update_Request_Rule
(module (function_definition (function_name_tmsiReallocationCommand) function_name_tmsiReallocationCommand (parameters )parameters (block (expression_statement (assignment (identifier_a) identifier_a (call (identifier_TpPd) identifier_TpPd (arg...
TMSI REALLOCATION COMMAND Section 9.2.17
(module (function_definition (function_name_get_path) function_name_get_path (parameters (identifier_self) identifier_self (default_parameter (identifier_appendix) identifier_appendix (None) None )default_parameter (default_parameter (identifier_by_name) identif...
Recursively create the path of the state. The path is generated in bottom up method i.e. from the nested child states to the root state. The method concatenates either State.state_id (always unique) or State.name (maybe not unique but human readable) as state identifier for the path. :...
(module (function_definition (function_name_download) function_name_download (parameters (identifier_state) identifier_state (identifier_host) identifier_host (identifier_source_url) identifier_source_url (identifier_destination) identifier_destination (default_parameter ...
Download files from remote locations. + source_url: source URl of the file + destination: where to save the file + user: user to own the files + group: group to own the files + mode: permissions of the files + cache_time: if the file exists already, re-download after this time (in s) + forc...
(module (function_definition (function_name__next_regular) function_name__next_regular (parameters (identifier_target) identifier_target )parameters (block (if_statement (comparison_operator (identifier_target) identifier_target (integer_6) integer_6 )co...
Find the next regular number greater than or equal to target. Regular numbers are composites of the prime factors 2, 3, and 5. Also known as 5-smooth numbers or Hamming numbers, these are the optimal size for inputs to FFTPACK. Target must be a positive integer.
(module (function_definition (function_name__find_node_by_indices) function_name__find_node_by_indices (parameters (identifier_self) identifier_self (identifier_point) identifier_point )parameters (block (expression_statement (assignment (pattern_list (i...
Find the GSNode that is refered to by the given indices. See GSNode::_indices()
(module (function_definition (function_name_resort) function_name_resort (parameters (identifier_self) identifier_self (identifier_columnName) identifier_columnName )parameters (block (expression_statement (assignment (identifier_csc) identifier_csc (attri...
Re-sort the table. @param columnName: the name of the column to sort by. This is a string because it is passed from the browser.
(module (function_definition (function_name_OnExpandAll) function_name_OnExpandAll (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_root) identifier_root (call (attribute (at...
expand all nodes
(module (function_definition (function_name_getprimeover) function_name_getprimeover (parameters (identifier_N) identifier_N )parameters (block (if_statement (identifier_HAVE_GMP) identifier_HAVE_GMP (block (expression_statement (assignment ...
Return a random N-bit prime number using the System's best Cryptographic random source. Use GMP if available, otherwise fallback to PyCrypto
(module (function_definition (function_name_dumpBlock) function_name_dumpBlock (parameters (identifier_self) identifier_self (identifier_block_name) identifier_block_name )parameters (block (try_statement (block (return_statement (call (att...
API the list all information related with the block_name :param block_name: Name of block to be dumped (Required) :type block_name: str
(module (function_definition (function_name_merge_adjacent) function_name_merge_adjacent (parameters (identifier_numbers) identifier_numbers (default_parameter (identifier_indicator) identifier_indicator (string_'..') string_'..' )default_parameter (default_parameter ...
Merge adjacent numbers in an iterable of numbers. Parameters: numbers (list): List of integers or numeric strings. indicator (str): Delimiter to indicate generated ranges. base (int): Passed to the `int()` conversion when comparing numbers. Return: list ...
(module (function_definition (function_name_download_sample) function_name_download_sample (parameters (identifier_job) identifier_job (identifier_sample) identifier_sample (identifier_inputs) identifier_inputs )parameters (block (expression_statement (assignment ...
Download the input sample :param JobFunctionWrappingJob job: passed by Toil automatically :param tuple sample: Tuple containing (UUID,URL) of a sample :param Namespace inputs: Stores input arguments (see main)
(module (function_definition (function_name__find_observable_paths) function_name__find_observable_paths (parameters (default_parameter (identifier_extra_files) identifier_extra_files (None) None )default_parameter )parameters (block (expression_statement (ass...
Finds all paths that should be observed.
(module (function_definition (function_name__init_client) function_name__init_client (parameters )parameters (block (if_statement (comparison_operator (identifier_client) identifier_client (None) None )comparison_operator (block (return_state...
Initialize connection and create table if needed
(module (function_definition (function_name_format_payload) function_name_format_payload (parameters (identifier_self) identifier_self (identifier_api_version) identifier_api_version (identifier_data) identifier_data )parameters (block (if_statement (parenthesized_expre...
Return appropriate QualysGuard API call.
(module (function_definition (function_name_cto) function_name_cto (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_cto) identifier_cto (unary_operator (integer_1) integer_1 )una...
The final character position in the surface string. Defaults to -1 if there is no valid cto value.
(module (function_definition (function_name_get_default_config_directory) function_name_get_default_config_directory (parameters )parameters (block (expression_statement (assignment (identifier_test_path) identifier_test_path (call (attribute ...
Return default config directory, based in the actual test path :returns: default config directory
(module (function_definition (function_name_set_mindays) function_name_set_mindays (parameters (identifier_name) identifier_name (identifier_mindays) identifier_mindays )parameters (block (expression_statement (assignment (identifier_pre_info) identifier_pre_info ...
Set the minimum number of days between password changes. See man passwd. CLI Example: .. code-block:: bash salt '*' shadow.set_mindays username 7
(module (function_definition (function_name_delete_word) function_name_delete_word (parameters (identifier_word) identifier_word )parameters (block (expression_statement (assignment (identifier_conn) identifier_conn (call (attribute (id...
delete the word or phrase from database.
(module (function_definition (function_name_activate) function_name_activate (parameters )parameters (block (global_statement (identifier_PathFinder) identifier_PathFinder (identifier_FileFinder) identifier_FileFinder (identifier_ff_path_hook) identifier_ff_path_hook ...
Install the path-based import components.
(module (function_definition (function_name_validate) function_name_validate (parameters (identifier_state) identifier_state (identifier_holdout_glob) identifier_holdout_glob )parameters (block (if_statement (not_operator (call (attribute (...
Validate the trained model against holdout games. Args: state: the RL loop State instance. holdout_glob: a glob that matches holdout games.
(module (function_definition (function_name_get) function_name_get (parameters (identifier_self) identifier_self (identifier_cluster_id) identifier_cluster_id (default_parameter (identifier_show_progress) identifier_show_progress (False) False )default_parameter )pa...
Get information about a Cluster.
(module (function_definition (function_name_dcmtoquat) function_name_dcmtoquat (parameters (identifier_dcm) identifier_dcm )parameters (block (expression_statement (assignment (identifier_quat) identifier_quat (call (attribute (identifi...
Convert DCM to quaternion This function will convert a rotation matrix, also called a direction cosine matrix into the equivalent quaternion. Parameters: ---------- dcm - (3,3) numpy array Numpy rotation matrix which defines a rotation from the b to a frame Returns: -------- ...
(module (function_definition (function_name_add_mixl_specific_results_to_estimation_res) function_name_add_mixl_specific_results_to_estimation_res (parameters (identifier_estimator) identifier_estimator (identifier_results_dict) identifier_results_dict )parameters (block (expression_...
Stores particular items in the results dictionary that are unique to mixed logit-type models. In particular, this function calculates and adds `sequence_probs` and `expanded_sequence_probs` to the results dictionary. The `constrained_pos` object is also stored to the results_dict. Parameters ------...
(module (function_definition (function_name__try_get_current_manager) function_name__try_get_current_manager (parameters (identifier_cls) identifier_cls )parameters (block (if_statement (comparison_operator (call (attribute (call ...
Try to detect a package manager used in a current Gentoo system.
(module (function_definition (function_name__pause_all_nodes) function_name__pause_all_nodes (parameters (identifier_self) identifier_self (default_parameter (identifier_max_thread_pool_size) identifier_max_thread_pool_size (integer_0) integer_0 )default_parameter )parame...
Pause all cluster nodes - ensure that we store data so that in the future the nodes can be restarted. :return: int - number of failures.
(module (function_definition (function_name_update) function_name_update (parameters (identifier_self) identifier_self (identifier_name) identifier_name (identifier_modifiers) identifier_modifiers )parameters (block (expression_statement (call (attribute ...
Updates the attributes for the subroutine instance, handles name changes in the parent module as well.
(module (function_definition (function_name_coordinates) function_name_coordinates (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_i) identifier_i (attribute (identifier_self) identifier_...
Get or set the internal coordinate system. Available coordinate systems are: - ``'jacobi'`` (default) - ``'democraticheliocentric'`` - ``'whds'``
(module (function_definition (function_name_set_theme) function_name_set_theme (parameters (identifier_self) identifier_self (identifier_theme_name) identifier_theme_name (default_parameter (identifier_toplevel) identifier_toplevel (None) None )default_parameter (...
Redirect the set_theme call to also set Tk background color
(module (function_definition (function_name_ensure_path) function_name_ensure_path (parameters (identifier_path) identifier_path (default_parameter (identifier_mode) identifier_mode (integer_0o777) integer_0o777 )default_parameter )parameters (block (if_statemen...
Ensure that path exists in a multiprocessing safe way. If the path does not exist, recursively create it and its parent directories using the provided mode. If the path already exists, do nothing. The umask is cleared to enable the mode to be set, and then reset to the original value after the mode i...
(module (function_definition (function_name_mget_list) function_name_mget_list (parameters (identifier_item) identifier_item (identifier_index) identifier_index )parameters (block (expression_statement (string_'get mulitple items via index of int, slice or list') string_'get ...
get mulitple items via index of int, slice or list
(module (function_definition (function_name_cmd_iter) function_name_cmd_iter (parameters (identifier_self) identifier_self (identifier_tgt) identifier_tgt (identifier_fun) identifier_fun (default_parameter (identifier_arg) identifier_arg (tuple )tuple )def...
Yields the individual minion returns as they come in The function signature is the same as :py:meth:`cmd` with the following exceptions. Normally :py:meth:`cmd_iter` does not yield results for minions that are not connected. If you want it to return results for disconnected min...
(module (function_definition (function_name_get_related) function_name_get_related (parameters (identifier_self) identifier_self (identifier_instance) identifier_instance (identifier_number) identifier_number )parameters (block (expression_statement (assignment ...
Return a list of the most related objects to instance.
(module (function_definition (function_name_get_arguments) function_name_get_arguments (parameters (identifier_self) identifier_self (typed_parameter (identifier_name) identifier_name (type (identifier_str) identifier_str )type )typed_parameter (typed_...
Returns a list of the arguments with the given name. If the argument is not present, returns an empty list. This method searches both the query and body arguments.
(module (function_definition (function_name_get_role_config_group) function_name_get_role_config_group (parameters (identifier_self) identifier_self (identifier_name) identifier_name )parameters (block (return_statement (call (attribute (identifier_role_...
Get a role configuration group in the service by name. @param name: The name of the role config group. @return: An ApiRoleConfigGroup object. @since: API v3
(module (function_definition (function_name_decode_consumer_metadata_response) function_name_decode_consumer_metadata_response (parameters (identifier_cls) identifier_cls (identifier_data) identifier_data )parameters (block (expression_statement (assignment (tuple_p...
Decode bytes to a kafka.structs.ConsumerMetadataResponse Arguments: data: bytes to decode
(module (function_definition (function_name__bibliography) function_name__bibliography (parameters (identifier_doc) identifier_doc (identifier_terms) identifier_terms (default_parameter (identifier_converters) identifier_converters (list )list )default_parameter...
Render citations, from a document or a doct of dicts If the input is a dict, each key is the name of the citation, and the value is a BibTex formatted dict :param doc: A MetatabDoc, or a dict of BibTex dicts :return:
(module (function_definition (function_name__nix_collect_garbage) function_name__nix_collect_garbage (parameters )parameters (block (expression_statement (assignment (identifier_nixhome) identifier_nixhome (call (attribute (attribute ...
Make sure we get the right nix-store, too.
(module (function_definition (function_name_get_connection_id_by_endpoint) function_name_get_connection_id_by_endpoint (parameters (identifier_self) identifier_self (identifier_endpoint) identifier_endpoint )parameters (block (with_statement (with_clause (with_item ...
Returns the connection id associated with a publically reachable endpoint or raises KeyError if the endpoint is not found. Args: endpoint (str): A zmq-style uri which identifies a publically reachable endpoint.
(module (function_definition (function_name__indexable_tags) function_name__indexable_tags (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_tags) identifier_tags (call (attribute ...
Index tag ids for tags defined in this Entity's default tags namespace.
(module (function_definition (function_name_get_tip_coordinates) function_name_get_tip_coordinates (parameters (identifier_self) identifier_self (default_parameter (identifier_axis) identifier_axis (None) None )default_parameter )parameters (block (expression_st...
Returns coordinates of the tip positions for a tree. If no argument for axis then a 2-d array is returned. The first column is the x coordinates the second column is the y-coordinates. If you enter an argument for axis then a 1-d array will be returned of just that axis.
(module (function_definition (function_name_press_event) function_name_press_event (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (attribute (attribute (identifier_self) identifier_self ...
The mouse press event that initiated a mouse drag, if any.
(module (function_definition (function_name__counts_at_position) function_name__counts_at_position (parameters (identifier_positions) identifier_positions (identifier_orig_reader) identifier_orig_reader (identifier_cmp_reader) identifier_cmp_reader )parameters (block (expressio...
Combine orignal and new qualities at each position, generating counts.
(module (function_definition (function_name_command) function_name_command (parameters (identifier_self) identifier_self (identifier_func) identifier_func )parameters (block (expression_statement (assignment (identifier_command) identifier_command (call ...
Decorator to add a command function to the registry. :param func: command function.
(module (function_definition (function_name_ffht) function_name_ffht (parameters (identifier_fEM) identifier_fEM (identifier_time) identifier_time (identifier_freq) identifier_freq (identifier_ftarg) identifier_ftarg )parameters (block (expression_statement (ident...
r"""Fourier Transform using the Digital Linear Filter method. It follows the Filter methodology [Ande75]_, using Cosine- and Sine-filters; see ``fht`` for more information. The function is called from one of the modelling routines in :mod:`model`. Consult these modelling routines for a description of...
(module (function_definition (function_name_value) function_name_value (parameters (identifier_self) identifier_self )parameters (block (try_statement (block (if_statement (call (identifier_isinstance) identifier_isinstance (argumen...
Set a calculated value for this Expression. Used when writing formulas using XlsxWriter to give cells an initial value when the sheet is loaded without being calculated.
(module (function_definition (function_name_wait_for_event) function_name_wait_for_event (parameters (identifier_event) identifier_event )parameters (block (expression_statement (assignment (identifier_f) identifier_f (call (identifier_Future) identi...
Wraps a win32 event into a `Future` and wait for it.
(module (function_definition (function_name_parse_ppi_graph) function_name_parse_ppi_graph (parameters (typed_parameter (identifier_path) identifier_path (type (identifier_str) identifier_str )type )typed_parameter (typed_default_parameter (identifie...
Build an undirected graph of gene interactions from edgelist file. :param str path: The path to the edgelist file :param float min_edge_weight: Cutoff to keep/remove the edges, default is 0, but could also be 0.63. :return Graph: Protein-protein interaction graph
(module (function_definition (function_name_get_formatter) function_name_get_formatter (parameters (identifier_columns) identifier_columns )parameters (block (expression_statement (assignment (identifier_column_map) identifier_column_map (call (ident...
This function returns a callback to use with click options. The returned function parses a comma-separated value and returns a new ColumnFormatter. :param columns: a list of Column instances
(module (function_definition (function_name_forward_algo) function_name_forward_algo (parameters (identifier_self) identifier_self (identifier_observations) identifier_observations )parameters (block (expression_statement (assignment (identifier_total_stages) identi...
Finds the probability of an observation sequence for given model parameters **Arguments**: :param observations: The observation sequence, where each element belongs to 'observations' variable declared with __init__ object. :type observations: A list or tuple :return: The probability ...
(module (function_definition (function_name__validate_tag_key) function_name__validate_tag_key (parameters (identifier_self) identifier_self (identifier_tag_key) identifier_tag_key (default_parameter (identifier_exception_param) identifier_exception_param (string_'tags.X.memb...
Validates the tag key. :param all_tags: Dict to check if there is a duplicate tag. :param tag_key: The tag key to check against. :param exception_param: The exception parameter to send over to help format the message. This is to reflect the difference between the...
(module (function_definition (function_name_from_dict) function_name_from_dict (parameters (identifier_cls) identifier_cls (identifier_d) identifier_d )parameters (block (expression_statement (assignment (identifier_key) identifier_key (call (a...
Construct a MSONable AdfKey object from the JSON dict. Parameters ---------- d : dict A dict of saved attributes. Returns ------- adfkey : AdfKey An AdfKey object recovered from the JSON dict ``d``.
(module (function_definition (function_name__handle_hidden_tables) function_name__handle_hidden_tables (parameters (identifier_self) identifier_self (identifier_tbl_list) identifier_tbl_list (identifier_attr_name) identifier_attr_name )parameters (block (if_statement (n...
Return list of tables, potentially removing hidden elements Parameters ---------- tbl_list : list of node-like Type of list elements will vary depending upon parser used attr_name : str Name of the accessor for retrieving HTML attributes Returns ...
(module (function_definition (function_name_unescape_code_start) function_name_unescape_code_start (parameters (identifier_source) identifier_source (identifier_ext) identifier_ext (default_parameter (identifier_language) identifier_language (string_'python') string_'python' ...
Unescape code start
(module (function_definition (function_name__data_dep_init) function_name__data_dep_init (parameters (identifier_self) identifier_self (identifier_inputs) identifier_inputs )parameters (block (with_statement (with_clause (with_item (call (a...
Data dependent initialization for eager execution.
(module (function_definition (function_name__set_labels) function_name__set_labels (parameters (identifier_self) identifier_self (identifier_catalogue) identifier_catalogue )parameters (block (with_statement (with_clause (with_item (attribute ...
Returns a dictionary of the unique labels in `catalogue` and the count of all tokens associated with each, and sets the record of each Text to its corresponding label. Texts that do not have a label specified are set to the empty string. Token counts are included in the results...
(module (function_definition (function_name_read) function_name_read (parameters (identifier_path) identifier_path (default_parameter (identifier_encoding) identifier_encoding (string_"utf-8") string_"utf-8" )default_parameter )parameters (block (with_statement ...
Auto-decoding string reader. Usage:: >>> from angora.dataIO import textfile or >>> from angora.dataIO import * >>> textfile.read("test.txt")
(module (function_definition (function_name__prior_headerfooter) function_name__prior_headerfooter (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_preceding_sectPr) identifier_preceding_sectPr (attri...
|_Header| proxy on prior sectPr element or None if this is first section.
(module (function_definition (function_name_eye) function_name_eye (parameters (identifier_N) identifier_N (default_parameter (identifier_M) identifier_M (integer_0) integer_0 )default_parameter (default_parameter (identifier_k) identifier_k (integer_0) ...
Return a 2-D array with ones on the diagonal and zeros elsewhere. Parameters ---------- N: int Number of rows in the output. M: int, optional Number of columns in the output. If 0, defaults to N. k: int, optional Index of the diagonal: 0 (the default) refers to the main diag...
(module (function_definition (function_name_get_fields_with_prop) function_name_get_fields_with_prop (parameters (identifier_cls) identifier_cls (identifier_prop_key) identifier_prop_key )parameters (block (expression_statement (assignment (identifier_ret) identifie...
Return a list of fields with a prop key defined Each list item will be a tuple of field name containing the prop key & the value of that prop key. :param prop_key: key name :return: list of tuples