Module Import alias Import alias Import alias FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num body Expr Str Assign NameStore Num For NameStore Call NameLoad Num NameLoad body Assign NameStore BinOpSub Call NameLoad Call AttributeLoad NameLoad attr BinOpMult BinOpAdd NameLoad Num NameLoad Num If CompareGt NameLoad NameLoad body For NameStore Call NameLoad BinOpAdd NameLoad Num BinOpAdd NameLoad Num body Expr Yield TupleLoad BinOpAdd NameLoad NameLoad BinOpAdd NameLoad NameLoad Assign NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num body Return Call NameLoad NameLoad Call NameLoad NameLoad BinOpAdd NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str If CompareEq Call NameLoad NameLoad Num body Raise Call NameLoad Assign NameStore SubscriptLoad NameLoad Index Num For NameStore NameLoad body Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr BinOpMult NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr BinOpMult BinOpAdd NameLoad Num NameLoad For NameStore Call NameLoad NameLoad NameLoad body Expr Yield TupleLoad NameLoad BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Return Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore NameLoad For NameStore NameLoad body If NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad If CompareNotEq SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num body Expr Yield NameLoad Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr BinOpMult NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpSub BinOpAdd SubscriptLoad NameLoad Index Num Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Return Call NameLoad NameLoad NameLoad keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num decorator_list
N/A N/A math N/A Rat N/A itertools old_convert_integers_by_ratio N/A N/A ratio num_inputs src_offset dest_offset N/A 0 0 N/A N/A Given an out:in ratio and a number of inputs, give the reassignments
    that will result in the correct number of output frames taken linearly from
    input frames.

    You can also specify a src_offset or dest_offset, which are added to the
    source or dest numbers.

    >>> list(convert_integers_by_ratio(0.5, 4))
    [(1, 0), (3, 1)]
    >>>
     N/A max_taken -1 N/A in_frame N/A xrange 0 num_inputs N/A N/A out_frame N/A N/A int N/A N/A math floor N/A N/A in_frame 1 ratio 1 N/A N/A out_frame max_taken N/A N/A copy N/A xrange N/A max_taken 1 N/A out_frame 1 N/A N/A N/A N/A N/A in_frame src_offset N/A copy dest_offset N/A max_taken out_frame N/A convert_integers_by_ratio N/A N/A ratio num_inputs src_offset dest_offset N/A 0 0 N/A N/A N/A convert_integers_by_iterator_ratio ratio N/A xrange src_offset N/A src_offset num_inputs dest_offset dest_offset N/A argh N/A N/A ratio source dest_offset N/A 0 N/A N/A Given a source of frame numbers and a ratio, gives the reassignments
    that will result in the best assignment of input to output frames. N/A N/A N/A len source 0 N/A N/A N/A StopIteration N/A first_frame N/A source N/A 0 N/A in_frame source N/A N/A rel_in_frame N/A in_frame first_frame N/A first_rel_out_frame N/A int N/A N/A math floor N/A rel_in_frame ratio N/A bound_rel_out_frame N/A int N/A N/A math floor N/A N/A rel_in_frame 1 ratio N/A rel_out_frame N/A xrange first_rel_out_frame bound_rel_out_frame N/A N/A N/A N/A in_frame N/A rel_out_frame dest_offset N/A convert_integers_by_iterator_ratio N/A N/A ratio source dest_offset N/A 0 N/A N/A N/A argh ratio source dest_offset N/A take_last_assignment N/A N/A source N/A N/A N/A first True N/A last None N/A assn source N/A N/A first N/A N/A last assn N/A first False N/A N/A N/A assn N/A 1 N/A last N/A 1 N/A N/A N/A last N/A last assn N/A N/A last None N/A N/A N/A last N/A expected_number N/A N/A ratio num_inputs N/A N/A N/A N/A N/A math floor N/A ratio num_inputs N/A ratio_for_number N/A N/A num_inputs num_outputs N/A N/A N/A N/A N/A Rat rat num_outputs num_inputs N/A frames_in_range N/A N/A bounds N/A N/A N/A N/A N/A N/A bounds N/A 1 1 N/A bounds N/A 0 N/A convert_range_to_range N/A N/A in_bounds out_bounds N/A N/A N/A num_outs N/A frames_in_range out_bounds N/A num_ins N/A frames_in_range in_bounds N/A ratio N/A ratio_for_number num_ins num_outs N/A N/A convert_integers_by_ratio ratio num_ins src_offset N/A in_bounds N/A 0 dest_offset N/A out_bounds N/A 0 N/A