cars.pipelines.parameters.dsm_inputs ==================================== .. py:module:: cars.pipelines.parameters.dsm_inputs .. autoapi-nested-parse:: CARS dsm inputs Functions --------- .. autoapisummary:: cars.pipelines.parameters.dsm_inputs.check_dsm_inputs cars.pipelines.parameters.dsm_inputs.check_geometry_plugin cars.pipelines.parameters.dsm_inputs.check_input_size cars.pipelines.parameters.dsm_inputs.modify_to_absolute_path cars.pipelines.parameters.dsm_inputs.check_phasing Module Contents --------------- .. py:function:: check_dsm_inputs(conf, config_dir=None) Check the inputs given :param conf: configuration of inputs :type conf: dict :param config_dir: directory of used json/yaml, if user filled paths with relative paths :type config_dir: str :return: overloader inputs :rtype: dict .. py:function:: check_geometry_plugin(conf_inputs, conf_geom_plugin) Check the geometry plugin with inputs :param conf_geom_plugin: name of geometry plugin :type conf_geom_plugin: str :param conf_inputs: checked configuration of inputs :type conf_inputs: type :return: geometry plugin with dem .. py:function:: check_input_size(dsm, classif, color, mask) Check dsm, mask, color, classif given Images must have same size :param dsm: phased dsm path :type dsm: str :param classif: classif path :type classif: str :param color: color path :type color: str :param mask: mask path :type mask: str .. py:function:: modify_to_absolute_path(config_dir, overloaded_conf) Modify input file path to absolute path :param config_dir: directory of the json configuration :type config_dir: str :param overloaded_conf: overloaded configuration json :dict overloaded_conf: dict .. py:function:: check_phasing(dsm_dict) Check if the dsm are phased, and if resolution and epsg code are equivalent :param dsm_dict: list of phased dsm :type dsm_dict: dict