


from __future__ import annotations

from math import pi, sqrt





def 	_lowerCAmelCase       (    _lowerCAmelCase      ,	_lowerCAmelCase )						->	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()









import warnings

from ...utils import logging
from .image_processing_beit import BeitImageProcessor


A							:					Any     						=     logging.get_logger(__name__)






class     UpperCamelCase(  _a   ):


					def __init__(						self	:		Optional[int]     ,    *SCREAMING_SNAKE_CASE	:		Tuple     ,    **SCREAMING_SNAKE_CASE	:		List[Any]						)			->	None:




											'''simple docstring'''

											warnings.warn(
											    "The class BeitFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"
											    " use BeitImageProcessor instead."     ,    SCREAMING_SNAKE_CASE     ,    )
											super().__init__(*SCREAMING_SNAKE_CASE     ,    **SCREAMING_SNAKE_CASE						)





