nmrglue.process.proc_base.largest_power_of_2

nmrglue.process.proc_base.largest_power_of_2(value)[source]

Find the nearest power of two equal to or larger than a value.

Parameters :

value : int

Value to find nearest power of two equal to or larger than.

Returns :

pw : int

Power of 2.

Previous topic

nmrglue.process.proc_base.sum_flt

Next topic

nmrglue.proc_bl

This Page