



"""simple docstring"""


import warnings

from ...utils import logging
from .image_processing_yolos import YolosImageProcessor


snake_case_    					=	logging.get_logger(__name__)







class 				A_      (					SCREAMING_SNAKE_CASE_    ):



						"""simple docstring"""






						def __init__( self			:Optional[Any]       ,  *lowercase_			:Optional[int]       ,  **lowercase_			:str )    ->      None:
												warnings.warn(
												    'The class YolosFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
												    ' use YolosImageProcessor instead.'       ,  lowercase_       ,  )
												super().__init__(*lowercase_       ,  **lowercase_ )










"""simple docstring"""


from math import factorial, radians

def 			_lowerCAmelCase				(       lowercase_		,     lowercase_ = 18		,     lowercase_ = 10						):
						UpperCAmelCase					=			angle_in_degrees - ((angle_in_degrees // 3_6_0.0) * 3_6_0.0)

						# Converting from degrees to radians
						UpperCAmelCase					=			radians(lowercase_						)

						UpperCAmelCase					=			angle_in_radians
						UpperCAmelCase					=			3
						UpperCAmelCase					=			-1

						for _ in range(lowercase_						):
												result += (b * (angle_in_radians**a)) / factorial(lowercase_						)

												UpperCAmelCase					=			-b  # One positive term and the next will be negative and so on...
												a += 2  # Increased by 2 for every term.

						return round(lowercase_		,     lowercase_						)


if __name__ == "__main__":
				__import__("""doctest""").testmod()





