code: def _circfuncs_common(samples, high, low):
      samples = np.asarray(samples)
      if samples.size == 0:
          return np.nan, np.nan
  
      ang = (samples - low) * 2.0 * pi / (high - low)
      return samples, ang
  
imports: from __future__ import division, print_function, absolute_import
  import math
  import warnings
  from collections import namedtuple
  import numpy
  from numpy import isscalar, r_, log, around, unique, asarray, zeros, arange, sort, amin, amax, any, atleast_1d, sqrt, ceil, floor, array, compress, pi, exp, ravel, count_nonzero, sin, cos, arctan2, hypot
  from scipy._lib.six import string_types
  from scipy import optimize
  from scipy import special
  from .None import statlib
  from .None import stats
  from .stats import find_repeats, _contains_nan
  from .contingency import chi2_contingency
  from .None import distributions
  from ._distn_infrastructure import rv_generic
label_desc: Use image node_id 36 for calling a global function with example usage: _circfuncs_common(samples, high, low) and returns: samples,  ang, np,  np