check

Functions for debugging and checking user input or arguments parsed to other functions, classes, etc.

Functions

array

Check if the input array satisfies the given conditions.

bin_edges

Check if bin edges are chosen properly for binning a given interval.

bins

Check if start point, end point and step width or number of bins are chosen properly for creating bin edges.

block_averaging

Check if the number of blocks for block averaging is chosen properly.

box

Check if the input array satisfies the conditions for a simulation box array in length-angle representation.

box_mat

Check if the input array satisfies the conditions for a simulation box matrix.

distance_bins

Check if start point, end point and step width or number of bins are chosen properly for binning distances that obey the minimum image convention.

dtrj

Check if the input array satisfies the conditions for a discrete trajectory.

frame_lag

Check if a frame lag ('lag time') is chosen properly.

frame_slicing

Check if the input parameters are suitable for slicing MDAnalysis trajectories.

list_of_cms

Check if the input is a sequence of contact matrices (or arrays).

masses

Check atom masses.

masses_new

Check atom masses.

pos_array

Check if the input array satisfies the conditions for a position array.

restarts

Check if the number of frames between restarting points is chosen properly.

time_step

Check whether all frames in a MDAnalysis trajectory have the same time step.