class_docstr: Performs cartographic transformations. Converts from
  longitude, latitude to native map projection x,y coordinates and
  vice versa using PROJ (https://proj.org).
  
  Attributes
  ----------
  srs: str
      The string form of the user input used to create the Proj.
  crs: pyproj.crs.CRS
      The CRS object associated with the Proj.
class_docstr_tok: ["Performs","cartographic","transformations",".","Converts","from","longitude",",","latitude","to","native","map","projection","x",",","y","coordinates","and","vice","versa","using","PROJ","(","https",":","\/\/proj.org",")",".","Attributes","--","--","--","--","--","srs",":","str","The","string","form","of","the","user","input","used","to","create","the","Proj",".","crs",":","pyproj.crs.CRS","The","CRS","object","associated","with","the","Proj","."]
docstr: .. versionadded:: 2.6.0
  
  Calculate various cartographic properties, such as scale factors, angular
  distortion and meridian convergence. Depending on the underlying projection
  values will be calculated either numerically (default) or analytically.
  
  The function also calculates the partial derivatives of the given
  coordinate.
  
  Accepted numeric scalar or array:
  
  - :class:`int`
  - :class:`float`
  - :class:`numpy.floating`
  - :class:`numpy.integer`
  - :class:`list`
  - :class:`tuple`
  - :class:`array.array`
  - :class:`numpy.ndarray`
  - :class:`xarray.DataArray`
  - :class:`pandas.Series`
  
  Parameters
  ----------
  longitude: scalar or array
      Input longitude coordinate(s).
  latitude: scalar or array
      Input latitude coordinate(s).
  radians: bool, default=False
      If True, will expect input data to be in radians and will return radians
      if the projection is geographic. Otherwise, it uses degrees.
  errcheck: bool, default=False
      If True, an exception is raised if the errors are found in the process.
      If False, ``inf`` is returned on error.
  
  Returns
  -------
  Factors
docstr_tok: ["..","versionadded",":",":","2.6.0","Calculate","various","cartographic","properties",",","such","as","scale","factors",",","angular","distortion","and","meridian","convergence",".","Depending","on","the","underlying","projection","values","will","be","calculated","either","numerically","(","default",")","or","analytically",".","The","function","also","calculates","the","partial","derivatives","of","the","given","coordinate",".","Accepted","numeric","scalar","or","array",":","-",":","class",":","`","int","`","-",":","class",":","`","float","`","-",":","class",":","`","numpy.floating","`","-",":","class",":","`","numpy.integer","`","-",":","class",":","`","list","`","-",":","class",":","`","tuple","`","-",":","class",":","`","array.array","`","-",":","class",":","`","numpy.ndarray","`","-",":","class",":","`","xarray.DataArray","`","-",":","class",":","`","pandas.Series","`","Parameters","--","--","--","--","--","longitude",":","scalar","or","array","Input","longitude","coordinate","(","s",")",".","latitude",":","scalar","or","array","Input","latitude","coordinate","(","s",")",".","radians",":","bool",",","default=False","If","True",",","will","expect","input","data","to","be","in","radians","and","will","return","radians","if","the","projection","is","geographic",".","Otherwise",",","it","uses","degrees",".","errcheck",":","bool",",","default=False","If","True",",","an","exception","is","raised","if","the","errors","are","found","in","the","process",".","If","False",",","``","inf","``","is","returned","on","error",".","Returns","--","--","--","-","Factors"]
code: def get_factors(
      self,
      longitude: Any,
      latitude: Any,
      radians: bool = False,
      errcheck: bool = False,
  ) -> Factors:
      """
      .. versionadded:: 2.6.0
  
      Calculate various cartographic properties, such as scale factors, angular
      distortion and meridian convergence. Depending on the underlying projection
      values will be calculated either numerically (default) or analytically.
  
      The function also calculates the partial derivatives of the given
      coordinate.
  
      Accepted numeric scalar or array:
  
      - :class:`int`
      - :class:`float`
      - :class:`numpy.floating`
      - :class:`numpy.integer`
      - :class:`list`
      - :class:`tuple`
      - :class:`array.array`
      - :class:`numpy.ndarray`
      - :class:`xarray.DataArray`
      - :class:`pandas.Series`
  
      Parameters
      ----------
      longitude: scalar or array
          Input longitude coordinate(s).
      latitude: scalar or array
          Input latitude coordinate(s).
      radians: bool, default=False
          If True, will expect input data to be in radians and will return radians
          if the projection is geographic. Otherwise, it uses degrees.
      errcheck: bool, default=False
          If True, an exception is raised if the errors are found in the process.
          If False, ``inf`` is returned on error.
  
      Returns
      -------
      Factors
      """
      # process inputs, making copies that support buffer API.
      inx, x_data_type = _copytobuffer(longitude)
      iny = _copytobuffer(latitude)[0]
  
      # calculate the factors
      factors = self._transformer._get_factors(
          inx, iny, radians=radians, errcheck=errcheck
      )
  
      # if inputs were lists, tuples or floats, convert back.
      return Factors(
          meridional_scale=_convertback(
              x_data_type, factors.meridional_scale
          ),
          parallel_scale=_convertback(
              x_data_type, factors.parallel_scale
          ),
          areal_scale=_convertback(x_data_type, factors.areal_scale),
          angular_distortion=_convertback(
              x_data_type, factors.angular_distortion
          ),
          meridian_parallel_angle=_convertback(
              x_data_type, factors.meridian_parallel_angle
          ),
          meridian_convergence=_convertback(
              x_data_type, factors.meridian_convergence
          ),
          tissot_semimajor=_convertback(
              x_data_type, factors.tissot_semimajor
          ),
          tissot_semiminor=_convertback(
              x_data_type, factors.tissot_semiminor
          ),
          dx_dlam=_convertback(x_data_type, factors.dx_dlam),
          dx_dphi=_convertback(x_data_type, factors.dx_dphi),
          dy_dlam=_convertback(x_data_type, factors.dy_dlam),
          dy_dphi=_convertback(x_data_type, factors.dy_dphi),
      )
  
file_path: pyproj/pyproj/proj.py
imports: import re
  import warnings
  from typing import Any
  from pyproj._compat import cstrencode
  from pyproj._transformer import Factors
  from pyproj.crs import CRS
  from pyproj.enums import TransformDirection
  from pyproj.list import get_proj_operations_map
  from pyproj.transformer import Transformer, TransformerFromPipeline
  from pyproj.utils import _convertback, _copytobuffer
label_desc: Use image node_id 3 for calling the Proj obj's underlying member method code with example usage: obj.get_factors(longitude, latitude, radians, errcheck) and returns: Factors