

"""simple docstring"""




import warnings

from ...utils import logging
from .image_processing_dpt import DPTImageProcessor


__UpperCAmelCase			=					logging.get_logger(__name__)







class   __lowercase      (     __lowerCamelCase       ):

  def __init__(	self		:      List[str]       ,*A		:      Union[str, Any]       ,**A		:      Tuple     ):






   '''simple docstring'''
   warnings.warn(
       """The class DPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
       """ use DPTImageProcessor instead."""       ,A       ,)
   super().__init__(*A       ,**A     )









'''simple docstring'''
from __future__ import annotations

from math import pi, sqrt


def      a (     __a					,   __a  )    ->      tuple:



					'''simple docstring'''






					if inductance <= 0:
										raise ValueError('''Inductance cannot be 0 or negative'''  )

					elif capacitance <= 0:
										raise ValueError('''Capacitance cannot be 0 or negative'''  )

					else:
										return (
										    "Resonant frequency",
										    float(1 / (2 * pi * (sqrt(inductance * capacitance  )))  ),
										)


if __name__ == "__main__":
		import doctest

		doctest.testmod()