original_docstring: 
      Square intensity profile in the frequency direction.
      
docstring: Square intensity profile in the frequency direction.
docstring_tokens: Square intensity profile in the frequency direction .
code: def box_f_profile(width):
      """
      Square intensity profile in the frequency direction.
      """
      width = unit_utils.get_value(width, u.Hz)
  
      def f_profile(f, f_center):
          return (np.abs(f - f_center) < width / 2).astype(int)
      return f_profile
code_tokens: def box_f_profile ( width ) : width = unit_utils . get_value ( width , u . Hz ) def f_profile ( f , f_center ) : return ( np . abs ( f - f_center ) < width / 2 ) . astype ( int ) return f_profile
short_docstring: Square intensity profile in the frequency direction.
short_docstring_tokens: Square intensity profile in the frequency direction .
comment: """
      Square intensity profile in the frequency direction.
      """