sequence
stringlengths
557
12.7k
docstring
stringlengths
4
15.2k
(module (function_definition (function_name_cells) function_name_cells (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_n) identifier_n (integer_0) integer_0 )assignment )expression_stat...
The number of cells in the MOC. This gives the total number of cells at all orders, with cells from every order counted equally. >>> m = MOC(0, (1, 2)) >>> m.cells 2
(module (function_definition (function_name__pull_content_revision_parent) function_name__pull_content_revision_parent (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (attribute (identifier_self) identifier_s...
combine the pulling of these three properties
(module (function_definition (function_name_getBottomLeft) function_name_getBottomLeft (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_x1) identifier_x1 (call (identifier_float) identifie...
Retrieves the the bottom left coordinate of the line as tuple. Coordinates must be numbers.
(module (function_definition (function_name_getExtensions) function_name_getExtensions (parameters (identifier_self) identifier_self (default_parameter (identifier_extname) identifier_extname (string_'SCI') string_'SCI' )default_parameter (default_parameter (ide...
Return the list of EXTVER values for extensions with name specified in extname.
(module (function_definition (function_name_simple_swap) function_name_simple_swap (parameters (typed_parameter (identifier_ins) identifier_ins (type (identifier_Instruction) identifier_Instruction )type )typed_parameter )parameters (type (identifier...
Replaces one instruction with another based on the transform rules in the bytecode definitions. This can help simplify your code as it reduces the overall number of instructions. For example, `aload_0` will become `aload 0`. :param ins: Instruction to potentially modify. :return: Potentially modifi...
(module (function_definition (function_name_get_jvm_options) function_name_get_jvm_options (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_ret) identifier_ret (list )list )assignmen...
Return the options to run this JVM with. These are options to the JVM itself, such as -Dfoo=bar, -Xmx=1g, -XX:-UseParallelGC and so on. Thus named because get_options() already exists (and returns this object's Pants options).
(module (function_definition (function_name_find_experiment_export) function_name_find_experiment_export (parameters (identifier_app_id) identifier_app_id )parameters (block (expression_statement (assignment (identifier_cwd) identifier_cwd (call (att...
Attempt to find a zipped export of an experiment with the ID provided and return its path. Returns None if not found. Search order: 1. local "data" subdirectory 2. user S3 bucket 3. Dallinger S3 bucket
(module (function_definition (function_name_isidentifier) function_name_isidentifier (parameters (identifier_s) identifier_s (default_parameter (identifier_dotted) identifier_dotted (False) False )default_parameter )parameters (block (if_statement (ident...
A function equivalent to the str.isidentifier method on Py3
(module (function_definition (function_name_minWidth) function_name_minWidth (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_frags) identifier_frags (attribute (identifier_self) identifie...
Attempt to determine a minimum sensible width
(module (function_definition (function_name_nested_update) function_name_nested_update (parameters (identifier_d) identifier_d (identifier_u) identifier_u )parameters (block (for_statement (pattern_list (identifier_k) identifier_k (identifier_v) identifier...
Merge two nested dicts. Nested dicts are sometimes used for representing various recursive structures. When updating such a structure, it may be convenient to present the updated data as a corresponding recursive structure. This function will then apply the update. Args: d: dict dict tha...
(module (function_definition (function_name_scope) function_name_scope (parameters (identifier_self) identifier_self (identifier_key) identifier_key )parameters (block (if_statement (comparison_operator (attribute (identifier_self) identifier_self ...
Apply the name scope to a key Parameters ---------- key : string Returns ------- `name/key` if `name` is not `None`; otherwise, `key`.
(module (function_definition (function_name_props_to_image) function_name_props_to_image (parameters (identifier_regionprops) identifier_regionprops (identifier_shape) identifier_shape (identifier_prop) identifier_prop )parameters (block (expression_statement (identifie...
r""" Creates an image with each region colored according the specified ``prop``, as obtained by ``regionprops_3d``. Parameters ---------- regionprops : list This is a list of properties for each region that is computed by PoreSpy's ``regionprops_3D`` or Skimage's ``regionsprops``. ...
(module (function_definition (function_name_href) function_name_href (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_url) identifier_url (binary_operator (attribute (attribu...
Return URL of the resource :rtype: str
(module (function_definition (function_name_mean) function_name_mean (parameters (identifier_self) identifier_self (default_parameter (identifier_only_valid) identifier_only_valid (True) True )default_parameter )parameters (type (identifier_ErrorValue) identifie...
Calculate the mean of the pixels, not counting the masked ones if only_valid is True.
(module (function_definition (function_name_Recv) function_name_Recv (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_size) identifier_size (subscript (call (attribute ...
Accept a message from Fleetspeak. Returns: A tuple (common_pb2.Message, size of the message in bytes). Raises: ProtocolError: If we receive unexpected data from Fleetspeak.
(module (function_definition (function_name_is_field_visible) function_name_is_field_visible (parameters (identifier_self) identifier_self (identifier_field) identifier_field )parameters (block (expression_statement (assignment (identifier_context) identifier_contex...
Check if the field is visible
(module (function_definition (function_name_qteIsMiniApplet) function_name_qteIsMiniApplet (parameters (identifier_self) identifier_self (identifier_obj) identifier_obj )parameters (block (try_statement (block (expression_statement (assignment ...
Test if instance ``obj`` is a mini applet. |Args| * ``obj`` (**object**): object to test. |Returns| * **bool**: whether or not ``obj`` is the mini applet. |Raises| * **None**
(module (function_definition (function_name_try_sending) function_name_try_sending (parameters (identifier_self) identifier_self (identifier_msg) identifier_msg (identifier_timeout_secs) identifier_timeout_secs (identifier_max_attempts) identifier_max_attempts )parameters (bloc...
Coroutine used to send message to the device when a response or ack is needed. This coroutine will try to send up to max_attempts time the message, waiting timeout_secs for an answer. If no answer is received, it will consider that the device is no longer accessible and will unregister it. ...
(module (function_definition (function_name_pull) function_name_pull (parameters (identifier_self) identifier_self )parameters (block (if_statement (not_operator (call (attribute (attribute (identifier_os) identifier_os ...
Pull selected repo from a remote git repository, while preserving user changes
(module (function_definition (function_name_clean_start_time) function_name_clean_start_time (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_start) identifier_start (call (attribute ...
Make sure that the start time doesn't come before the active entry
(module (function_definition (function_name_render) function_name_render (parameters (identifier_file) identifier_file )parameters (block (expression_statement (assignment (identifier_fp) identifier_fp (call (attribute (identifier_file)...
Generate the result HTML.
(module (function_definition (function_name_blend) function_name_blend (parameters (identifier_self) identifier_self (identifier_other) identifier_other (default_parameter (identifier_ratio) identifier_ratio (float_0.5) float_0.5 )default_parameter )parameters (...
Blend this color with another color in the same color space. By default, blends the colors half-and-half (ratio: 0.5). :param Color other: The color to blend. :param float ratio: How much to blend (0 -> 1). :rtype: Color :returns: A new spectra.Color
(module (function_definition (function_name_build_wheel) function_name_build_wheel (parameters (identifier_source_dir) identifier_source_dir (identifier_wheel_dir) identifier_wheel_dir (default_parameter (identifier_config_settings) identifier_config_settings (None) None ...
Build a wheel from a source directory using PEP 517 hooks. :param str source_dir: Source directory containing pyproject.toml :param str wheel_dir: Target directory to create wheel in :param dict config_settings: Options to pass to build backend This is a blocking function which will run pip in a subpr...
(module (function_definition (function_name_generate_docs) function_name_generate_docs (parameters (identifier_self) identifier_self )parameters (block (if_statement (boolean_operator (comparison_operator (subscript (attribute (at...
Generates the output docstring
(module (function_definition (function_name_save_cPkl) function_name_save_cPkl (parameters (identifier_fpath) identifier_fpath (identifier_data) identifier_data (default_parameter (identifier_verbose) identifier_verbose (None) None )default_parameter (default_para...
Saves data to a pickled file with optional verbosity
(module (function_definition (function_name_usable_id) function_name_usable_id (parameters (identifier_cls) identifier_cls (identifier_id) identifier_id )parameters (block (try_statement (block (expression_statement (assignment (identifier_...
Retrieve id from input which can be num or id.
(module (function_definition (function_name_raw_response) function_name_raw_response (parameters (identifier_self) identifier_self (default_parameter (identifier_cursor_id) identifier_cursor_id (None) None )default_parameter )parameters (block (if_statement ...
Check the response header from the database, without decoding BSON. Check the response for errors and unpack. Can raise CursorNotFound, NotMasterError, ExecutionTimeout, or OperationFailure. :Parameters: - `cursor_id` (optional): cursor_id we sent to get this response - ...
(module (function_definition (function_name_list_feeds) function_name_list_feeds (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_feeds) identifier_feeds (call (attribute (id...
Output a list of all feed names
(module (function_definition (function_name_link_files) function_name_link_files (parameters (typed_parameter (identifier_files) identifier_files (type (identifier_set) identifier_set )type )typed_parameter (typed_parameter (identifier_workspace_src_...
Sync the list of files and directories in `files` to destination directory specified by `workspace_src_dir`. "Sync" in the sense that every file given in `files` will be hard-linked under `workspace_src_dir` after this function returns, and no other files will exist under `workspace_src_dir`. F...
(module (function_definition (function_name__is_flag_group) function_name__is_flag_group (parameters (identifier_obj) identifier_obj )parameters (block (return_statement (parenthesized_expression (boolean_operator (boolean_operator (call ...
Returns `True` if `obj` is an `h5py.Group` that looks like if contains a flag
(module (function_definition (function_name_fetch_new_id) function_name_fetch_new_id (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_parent) identifier_parent (call (attribute ...
Return a new id for the given reftrack to be set on the refobject The id can identify reftracks that share the same parent, type and element. :returns: A new id :rtype: int :raises: None
(module (function_definition (function_name__finish_transaction_with_retry) function_name__finish_transaction_with_retry (parameters (identifier_self) identifier_self (identifier_command_name) identifier_command_name (identifier_explict_retry) identifier_explict_retry )parameters (bl...
Run commit or abort with one retry after any retryable error. :Parameters: - `command_name`: Either "commitTransaction" or "abortTransaction". - `explict_retry`: True when this is an explict commit retry attempt, ie the application called session.commit_transaction() twice.
(module (function_definition (function_name_host_report_msg) function_name_host_report_msg (parameters (identifier_hostname) identifier_hostname (identifier_module_name) identifier_module_name (identifier_result) identifier_result (identifier_oneline) identifier_oneline )parameters...
summarize the JSON results for a particular host
(module (function_definition (function_name_get_values) function_name_get_values (parameters (identifier_feature) identifier_feature (identifier_properties) identifier_properties )parameters (block (if_statement (comparison_operator (subscript (identifie...
Returns all values of the given feature specified by the given property set.
(module (function_definition (function_name_get_all_queues) function_name_get_all_queues (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_resp) identifier_resp (call (attribute ...
Get information about all queues in the cluster. Returns ------- queues : list of Queue Examples -------- >>> client.get_all_queues() [Queue<name='default', percent_used=0.00>, Queue<name='myqueue', percent_used=5.00>, Queue<name='child1', perc...
(module (function_definition (function_name_sort2groups) function_name_sort2groups (parameters (identifier_array) identifier_array (default_parameter (identifier_gpat) identifier_gpat (list (string_'_R1') string_'_R1' (string_'_R2') string_'_R2' )list ...
Sort an array of strings to groups by patterns
(module (function_definition (function_name_maybe_start_recording) function_name_maybe_start_recording (parameters (identifier_tokens) identifier_tokens (identifier_index) identifier_index )parameters (block (if_statement (call (identifier__is_really_comment) identi...
Return a new _CommentedLineRecorder when it is time to record.
(module (function_definition (function_name_create) function_name_create (parameters (identifier_self) identifier_self (default_parameter (identifier_edgeList) identifier_edgeList (None) None )default_parameter (default_parameter (identifier_excludeEdges) identi...
Create a new network from a list of nodes and edges in an existing source network. The SUID of the network and view are returned. :param edgeList (string, optional): Specifies a list of edges. The keywords all, selected, or unselected can be used to specify edges by their select...
(module (function_definition (function_name_start_single) function_name_start_single (parameters (identifier_self) identifier_self (identifier_typ) identifier_typ (identifier_scol) identifier_scol )parameters (block (expression_statement (assignment (attribute...
Start a new single
(module (function_definition (function_name_log_value) function_name_log_value (parameters (identifier_self) identifier_self (identifier_name) identifier_name (identifier_value) identifier_value (default_parameter (identifier_step) identifier_step (None) None )def...
Log new value for given name on given step. Args: name (str): name of the variable (it will be converted to a valid tensorflow summary name). value (float): this is a real number to be logged as a scalar. step (int): non-negative integer used for visualizatio...
(module (function_definition (function_name_services) function_name_services (parameters (default_parameter (identifier_namespace) identifier_namespace (string_'default') string_'default' )default_parameter (dictionary_splat_pattern (identifier_kwargs) identifier_kwar...
Return a list of kubernetes services defined in the namespace CLI Examples:: salt '*' kubernetes.services salt '*' kubernetes.services namespace=default
(module (function_definition (function_name_call) function_name_call (parameters (identifier_self) identifier_self (identifier_name) identifier_name (default_parameter (identifier_request) identifier_request (None) None )default_parameter (dictionary_splat_pattern...
Call resource by ``Api`` name. :param name: The resource's name (short form) :param request: django.http.Request instance :param **params: Params for a resource's call :return object: Result of resource's execution
(module (function_definition (function_name_dtype_repr) function_name_dtype_repr (parameters (identifier_dtype) identifier_dtype )parameters (block (expression_statement (assignment (identifier_dtype) identifier_dtype (call (attribute (...
Stringify ``dtype`` for ``repr`` with default for int and float.
(module (function_definition (function_name_path_dwim) function_name_path_dwim (parameters (identifier_basedir) identifier_basedir (identifier_given) identifier_given )parameters (block (if_statement (call (attribute (identifier_given) identifier_given ...
make relative paths work like folks expect.
(module (function_definition (function_name_get_valid_location) function_name_get_valid_location (parameters (identifier_location) identifier_location )parameters (block (if_statement (boolean_operator (comparison_operator (identifier_location) identifier_loca...
Check if the given location represents a valid cellular component.
(module (function_definition (function_name_check_for_local_repos) function_name_check_for_local_repos (parameters (identifier_repo) identifier_repo )parameters (block (expression_statement (assignment (identifier_repos_dict) identifier_repos_dict (call ...
Check if repository is local
(module (function_definition (function_name_speak) function_name_speak (parameters (identifier_self) identifier_self (identifier_text) identifier_text )parameters (block (if_statement (not_operator (call (attribute (identifier_self) identif...
The main function to convert text into speech.
(module (function_definition (function_name_generate_accounts) function_name_generate_accounts (parameters (identifier_seeds) identifier_seeds )parameters (block (return_statement (dictionary_comprehension (pair (identifier_seed) identifier_seed (d...
Create private keys and addresses for all seeds.
(module (function_definition (function_name_check_yamls) function_name_check_yamls (parameters (identifier_cls) identifier_cls (identifier_dap) identifier_dap )parameters (block (expression_statement (assignment (identifier_problems) identifier_problems (c...
Check that all assistants and snippets are valid. Return list of DapProblems.
(module (function_definition (function_name_add_json) function_name_add_json (parameters (identifier_self) identifier_self (identifier_json_obj) identifier_json_obj (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictionary_splat_pattern )parameters (bl...
Adds a json-serializable Python dict as a json file to IPFS. .. code-block:: python >>> c.add_json({'one': 1, 'two': 2, 'three': 3}) 'QmVz9g7m5u3oHiNKHj2CJX1dbG1gtismRS3g9NaPBBLbob' Parameters ---------- json_obj : dict A json-serializable Python di...
(module (function_definition (function_name_flux_up) function_name_flux_up (parameters (identifier_self) identifier_self (identifier_fluxUpBottom) identifier_fluxUpBottom (default_parameter (identifier_emission) identifier_emission (None) None )default_parameter )pa...
Compute downwelling radiative flux at interfaces between layers. Inputs: * fluxDownTop: flux down at top * emission: emission from atmospheric levels (N) defaults to zero if not given Returns: * vector of downwelling radiative flux between levels (N+...
(module (function_definition (function_name_get_name) function_name_get_name (parameters (identifier_self) identifier_self (dictionary_splat_pattern (identifier_values) identifier_values )dictionary_splat_pattern )parameters (type (identifier_str) identifier_str )ty...
Get a new name string from this object's name values. :param values: Variable keyword arguments where the **key** should refer to a field on this object that will use the provided **value** to build the new name.
(module (function_definition (function_name_read_data_from_bin_file) function_name_read_data_from_bin_file (parameters (identifier_fileName) identifier_fileName )parameters (block (with_statement (with_clause (with_item (as_pattern (call ...
Loads the binary data stored in the a binary file and extracts the data for each channel that was saved, along with the sample rate and length of the data array. Parameters ---------- fileContent : bytes bytes object containing the data from a .bin file exported from the saleae da...
(module (function_definition (function_name_tickerId) function_name_tickerId (parameters (identifier_self) identifier_self (identifier_contract_identifier) identifier_contract_identifier )parameters (block (expression_statement (assignment (identifier_symbol) identi...
returns the tickerId for the symbol or sets one if it doesn't exits
(module (function_definition (function_name_disqus_sso_script) function_name_disqus_sso_script (parameters (identifier_context) identifier_context )parameters (block (expression_statement (assignment (identifier_settings) identifier_settings (subscript ...
Provides a generic context variable which adds single-sign-on support to DISQUS if ``COMMENTS_DISQUS_API_PUBLIC_KEY`` and ``COMMENTS_DISQUS_API_SECRET_KEY`` are specified.
(module (function_definition (function_name_is_bytes) function_name_is_bytes (parameters (identifier_string) identifier_string )parameters (block (if_statement (boolean_operator (attribute (identifier_six) identifier_six (identifier_PY3) identifier...
Check if a string is a bytes instance :param Union[str, bytes] string: A string that may be string or bytes like :return: Whether the provided string is a bytes type or not :rtype: bool
(module (function_definition (function_name___process_acl) function_name___process_acl (parameters (identifier_self) identifier_self (identifier_load) identifier_load (identifier_auth_list) identifier_auth_list )parameters (block (if_statement (comparison_operator ...
Allows eauth module to modify the access list right before it'll be applied to the request. For example ldap auth module expands entries
(module (function_definition (function_name_get_db) function_name_get_db (parameters (identifier_cls) identifier_cls )parameters (block (if_statement (attribute (identifier_cls) identifier_cls (identifier__db) identifier__db )attribute (block ...
Return the database for the collection
(module (function_definition (function_name_divide) function_name_divide (parameters (identifier_x1) identifier_x1 (identifier_x2) identifier_x2 (default_parameter (identifier_output_shape) identifier_output_shape (None) None )default_parameter (default_parameter ...
Binary division with broadcasting. Args: x1: a Tensor x2: a Tensor output_shape: an optional Shape name: an optional string Returns: a Tensor
(module (function_definition (function_name_is_valid_data) function_name_is_valid_data (parameters (identifier_obj) identifier_obj )parameters (block (if_statement (identifier_obj) identifier_obj (block (try_statement (block (expression_s...
Check if data is JSON serializable.
(module (function_definition (function_name_human_readable) function_name_human_readable (parameters (identifier_self) identifier_self (typed_parameter (identifier_dense_repr) identifier_dense_repr (type (generic_type (identifier_Sequence) identifier_Sequence ...
Returns a human readable version of a dense representation of either or reference to facilitate simple manual inspection.
(module (function_definition (function_name_get_config) function_name_get_config (parameters (identifier_config) identifier_config (identifier_default_config) identifier_default_config )parameters (block (if_statement (not_operator (identifier_config) identifier_con...
Load configuration from file if in config, else use default
(module (function_definition (function_name_clean_email) function_name_clean_email (parameters (identifier_self) identifier_self )parameters (block (if_statement (call (attribute (attribute (call (identifier_get_user_model) identi...
Validate that the email address is unique.
(module (function_definition (function_name_totalNumberOfTiles) function_name_totalNumberOfTiles (parameters (identifier_self) identifier_self (default_parameter (identifier_minZoom) identifier_minZoom (None) None )default_parameter (default_parameter (identifie...
Return the total number of tiles for this instance extent
(module (function_definition (function_name__check) function_name__check (parameters (identifier_peers) identifier_peers )parameters (block (if_statement (not_operator (call (identifier_isinstance) identifier_isinstance (argument_list ...
Checks whether the input is a valid list of peers and transforms domain names into IP Addresses
(module (function_definition (function_name_x_runtime) function_name_x_runtime (parameters (identifier_f) identifier_f (list_splat_pattern (identifier_args) identifier_args )list_splat_pattern (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )dictio...
X-Runtime Flask Response Decorator.
(module (function_definition (function_name_found) function_name_found (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (string_'ids') string_'ids' (attribute (identifier_self) identifier_self ...
Small query to determine total number of hits
(module (function_definition (function_name_locate_private_alleles) function_name_locate_private_alleles (parameters (list_splat_pattern (identifier_acs) identifier_acs )list_splat_pattern )parameters (block (expression_statement (assignment (identifier_acs)...
Locate alleles that are found only in a single population. Parameters ---------- *acs : array_like, int, shape (n_variants, n_alleles) Allele counts arrays from each population. Returns ------- loc : ndarray, bool, shape (n_variants, n_alleles) Boolean array where elements are ...
(module (function_definition (function_name_gradfunc) function_name_gradfunc (parameters (identifier_self) identifier_self (identifier_p) identifier_p )parameters (block (expression_statement (call (attribute (identifier_self) identifier_self ...
The gradient-computing function that gets passed to the optimizers, if needed.
(module (function_definition (function_name_function_call_with_timeout) function_name_function_call_with_timeout (parameters (identifier_fun_name) identifier_fun_name (identifier_fun_args) identifier_fun_args (default_parameter (identifier_secs) identifier_secs (integer_5) in...
Run a Python function with a timeout. No interprocess communication or return values are handled. Setting secs to 0 gives infinite timeout.
(module (function_definition (function_name___flush) function_name___flush (parameters (identifier_self) identifier_self (default_parameter (identifier_async) identifier_async (True) True )default_parameter )parameters (block (expression_statement (assig...
Flushes messages through current HttpRequest and closes it. It assumes a current requesthandler and requires a lock on self.lock
(module (function_definition (function_name_recv_exit_status) function_name_recv_exit_status (parameters (identifier_self) identifier_self (identifier_command) identifier_command (default_parameter (identifier_timeout) identifier_timeout (integer_10) integer_10 )default...
Execute a command and get its return value @param command: command to execute @type command: str @param timeout: command execution timeout @type timeout: int @param get_pty: get pty @type get_pty: bool @return: the exit code of the process or None in case of t...
(module (function_definition (function_name_has_object_permission) function_name_has_object_permission (parameters (identifier_self) identifier_self (identifier_request) identifier_request (identifier_view) identifier_view (identifier_obj) identifier_obj )parameters (block ...
Overrides the standard function and figures out methods to call for object permissions.
(module (function_definition (function_name_parse_if) function_name_parse_if (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_node) identifier_node (assignment (identifier_result) identifi...
Parse an if construct.
(module (function_definition (function_name_get_user_if_exists) function_name_get_user_if_exists (parameters (identifier_strategy) identifier_strategy (identifier_details) identifier_details (default_parameter (identifier_user) identifier_user (None) None )default_param...
Return a User with the given username iff the User exists.
(module (function_definition (function_name_get_next_invalid_time_from_t) function_name_get_next_invalid_time_from_t (parameters (identifier_self) identifier_self (identifier_timestamp) identifier_timestamp )parameters (block (if_statement (not_operator (call ...
Get next invalid time for time range :param timestamp: time we compute from :type timestamp: int :return: timestamp of the next invalid time (LOCAL TIME) :rtype: int
(module (function_definition (function_name_stelab) function_name_stelab (parameters (identifier_pobj) identifier_pobj (identifier_vobs) identifier_vobs )parameters (block (expression_statement (assignment (identifier_pobj) identifier_pobj (call ...
Correct the apparent position of an object for stellar aberration. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/stelab_c.html :param pobj: Position of an object with respect to the observer. :type pobj: 3-Element Array of floats :param vobs: Velocity of the observer with...
(module (function_definition (function_name_configure) function_name_configure (parameters (identifier_self) identifier_self (dictionary_splat_pattern (identifier_configs) identifier_configs )dictionary_splat_pattern )parameters (block (expression_statement (ass...
Configure the consumer instance Configuration settings can be passed to constructor, otherwise defaults will be used: Keyword Arguments: bootstrap_servers (list): List of initial broker nodes the consumer should contact to bootstrap initial cluster metadata. This d...
(module (function_definition (function_name_create_shared) function_name_create_shared (parameters (identifier_self) identifier_self (identifier_name) identifier_name (identifier_ref) identifier_ref )parameters (block (if_statement (comparison_operator (attrib...
For the app backends to create the GLShared object. Parameters ---------- name : str The name. ref : object The reference.
(module (function_definition (function_name_compute_fw_at_frac_max_1d_simple) function_name_compute_fw_at_frac_max_1d_simple (parameters (identifier_Y) identifier_Y (identifier_xc) identifier_xc (default_parameter (identifier_X) identifier_X (None) None )default_paramet...
Compute the full width at fraction f of the maximum
(module (function_definition (function_name_upload) function_name_upload (parameters (identifier_self) identifier_self (identifier_filename) identifier_filename (default_parameter (identifier_filedata) identifier_filedata (None) None )default_parameter (default_pa...
Upload the specified file into the project. .. note:: Either ``filedata`` or ``filepath`` *MUST* be specified. Args: filename (str): The name of the file being uploaded filedata (bytes): The raw data of the file being uploaded filepath (str): The path t...
(module (function_definition (function_name_updateColormap) function_name_updateColormap (parameters (identifier_self) identifier_self )parameters (block (if_statement (comparison_operator (subscript (attribute (identifier_self) identifier_self ...
Updates the currently colormap accoring to stored settings
(module (function_definition (function_name__resume_ssl_session) function_name__resume_ssl_session (parameters (typed_parameter (identifier_server_info) identifier_server_info (type (identifier_ServerConnectivityInfo) identifier_ServerConnectivityInfo )type )typed...
Connect to the server and returns the session object that was assigned for that connection. If ssl_session is given, tries to resume that session.
(module (function_definition (function_name_create) function_name_create (parameters (identifier_self) identifier_self (identifier_networkipv4s) identifier_networkipv4s )parameters (block (expression_statement (assignment (identifier_data) identifier_data ...
Method to create network-ipv4's :param networkipv4s: List containing networkipv4's desired to be created on database :return: None
(module (function_definition (function_name_remover) function_name_remover (parameters (identifier_self) identifier_self (identifier_id_groupl3) identifier_id_groupl3 )parameters (block (if_statement (not_operator (call (identifier_is_valid_int_param) id...
Remove Group L3 from by the identifier. :param id_groupl3: Identifier of the Group L3. Integer value and greater than zero. :return: None :raise InvalidParameterError: The identifier of Group L3 is null and invalid. :raise GrupoL3NaoExisteError: Group L3 not registered. :raise...
(module (function_definition (function_name_to_dict) function_name_to_dict (parameters (identifier_self) identifier_self (default_parameter (identifier_properties) identifier_properties (True) True )default_parameter )parameters (block (expression_statement ...
Encode the Eds as a dictionary suitable for JSON serialization.
(module (function_definition (function_name_axis) function_name_axis (parameters (identifier_self) identifier_self )parameters (type (generic_type (identifier_Callable) identifier_Callable (type_parameter (type (list (identifier_Any) iden...
Determine the axis to return based on the hist type.
(module (function_definition (function_name__forceInt) function_name__forceInt (parameters (identifier_x) identifier_x (identifier_y) identifier_y (identifier_z) identifier_z (identifier_dens) identifier_dens (identifier_b2) identifier_b2 (identifier_c2) identifier_c2 ...
Integral that gives the force in x,y,z
(module (function_definition (function_name__calculate_solar_time) function_name__calculate_solar_time (parameters (identifier_self) identifier_self (identifier_hour) identifier_hour (identifier_eq_of_time) identifier_eq_of_time (identifier_is_solar_time) identifier_is_solar_time )...
Calculate Solar time for an hour.
(module (function_definition (function_name_fromLatex) function_name_fromLatex (parameters (identifier_tex) identifier_tex (list_splat_pattern (identifier_args) identifier_args )list_splat_pattern (dictionary_splat_pattern (identifier_kwargs) identifier_kwargs )di...
Creates abstraction using Latex :param str tex: Latex :return: TreeOfContents object
(module (function_definition (function_name_remove_overlap) function_name_remove_overlap (parameters (identifier_self) identifier_self (identifier_begin) identifier_begin (default_parameter (identifier_end) identifier_end (None) None )default_parameter )parameters ...
Removes all intervals overlapping the given point or range. Completes in O((r+m)*log n) time, where: * n = size of the tree * m = number of matches * r = size of the search range (this is 1 for a point)
(module (function_definition (function_name_str_deps) function_name_str_deps (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_lines) identifier_lines (list )list )assignment )e...
Return the string representation of the dependencies of the node.
(module (function_definition (function_name_execute) function_name_execute (parameters (identifier_self) identifier_self (default_parameter (identifier_keys) identifier_keys (list )list )default_parameter (default_parameter (identifier_args) identifier_a...
Execute the script, passing any required ``args``
(module (function_definition (function_name_pubmed_url) function_name_pubmed_url (parameters (default_parameter (identifier_args) identifier_args (subscript (attribute (identifier_sys) identifier_sys (identifier_argv) identifier_argv )attribute...
Get a publication URL via the command line using a PubMed ID or PubMed URL
(module (function_definition (function_name_geo) function_name_geo (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_out) identifier_out (call (identifier_dict) identifier_dict ...
General image geo information. Returns ------- dict a dictionary with keys `xmin`, `xmax`, `xres`, `rotation_x`, `ymin`, `ymax`, `yres`, `rotation_y`
(module (function_definition (function_name_cyvcf_add_filter) function_name_cyvcf_add_filter (parameters (identifier_rec) identifier_rec (identifier_name) identifier_name )parameters (block (if_statement (attribute (identifier_rec) identifier_rec (identifi...
Add a FILTER value to a cyvcf2 record
(module (function_definition (function_name_cache_hash) function_name_cache_hash (parameters (list_splat_pattern (identifier_a) identifier_a )list_splat_pattern (dictionary_splat_pattern (identifier_kw) identifier_kw )dictionary_splat_pattern )parameters (block ...
Try to hash an arbitrary object for caching.
(module (function_definition (function_name_get_soql_fields) function_name_get_soql_fields (parameters (identifier_soql) identifier_soql )parameters (block (expression_statement (assignment (identifier_soql_fields) identifier_soql_fields (call (attri...
Gets queried columns names.
(module (function_definition (function_name__one_hidden) function_name__one_hidden (parameters (identifier_self) identifier_self (typed_parameter (identifier_l) identifier_l (type (identifier_int) identifier_int )type )typed_parameter )parameters (ty...
Return one hidden state.
(module (function_definition (function_name_read) function_name_read (parameters (identifier_self) identifier_self )parameters (block (expression_statement (assignment (identifier_found) identifier_found (call (attribute (identifier_Cli...
Read some number of messages