SYMBOL INDEX (1108 symbols across 73 files) FILE: docs/conf.py function setup (line 195) | def setup(app): FILE: pyrate/configuration.py function set_parameter_value (line 34) | def set_parameter_value(data_type, input_value, default_value, required,... function validate_parameter_value (line 47) | def validate_parameter_value(input_name, input_value, min_value=None, ma... function validate_file_list_values (line 72) | def validate_file_list_values(file_list, no_of_epochs): class MultiplePaths (line 87) | class MultiplePaths: method __init__ (line 88) | def __init__(self, file_name: str, params: dict, input_type: InputType... method orb_error_path (line 125) | def orb_error_path(ifg_path: Union[str, Path], params) -> Path: method dem_error_path (line 137) | def dem_error_path(ifg_path: Union[str, Path], params) -> Path: method aps_error_path (line 144) | def aps_error_path(ifg_path: Union[str, Path], params) -> Path: method __str__ (line 158) | def __str__(self): # pragma: no cover class Configuration (line 172) | class Configuration: method __init__ (line 174) | def __init__(self, config_file_path): method ref_pixel_path (line 327) | def ref_pixel_path(params): method mst_path (line 340) | def mst_path(params, index) -> Path: method preread_ifgs (line 344) | def preread_ifgs(params: dict) -> Path: method vcmt_path (line 348) | def vcmt_path(params): method phase_closure_filtered_ifgs_list (line 352) | def phase_closure_filtered_ifgs_list(params): method refresh_ifg_list (line 355) | def refresh_ifg_list(self, params): # update params dict method ref_phs_file (line 362) | def ref_phs_file(params): method get_tiles (line 371) | def get_tiles(params): method __get_files_from_attr (line 376) | def __get_files_from_attr(self, attr, input_type=InputTypes.IFG): method closure (line 381) | def closure(self): method coherence_stats (line 394) | def coherence_stats(params): method geometry_files (line 399) | def geometry_files(params): function write_config_parser_file (line 404) | def write_config_parser_file(conf: ConfigParser, output_conf_file: Union... function write_config_file (line 410) | def write_config_file(params, output_conf_file): function parse_namelist (line 443) | def parse_namelist(nml): class ConfigException (line 457) | class ConfigException(Exception): FILE: pyrate/conv2tif.py function main (line 40) | def main(params): function do_geotiff (line 74) | def do_geotiff(unw_paths: List[MultiplePaths], params: dict) -> List[str]: function _geotiff_multiprocessing (line 93) | def _geotiff_multiprocessing(unw_path: MultiplePaths, params: dict) -> T... FILE: pyrate/core/algorithm.py function is_square (line 26) | def is_square(arr): function least_squares_covariance (line 42) | def least_squares_covariance(A, b, v): function los_conversion (line 94) | def los_conversion(phase_data, unit_vec): function unit_vector (line 109) | def unit_vector(incidence, azimuth): function ifg_date_lookup (line 126) | def ifg_date_lookup(ifgs, date_pair): function ifg_date_index_lookup (line 161) | def ifg_date_index_lookup(ifgs, date_pair): function get_epochs (line 191) | def get_epochs(ifgs: Union[Iterable, Dict]) -> Tuple[EpochList, int]: function get_all_epochs (line 212) | def get_all_epochs(ifgs): function first_second_ids (line 225) | def first_second_ids(dates): function factorise_integer (line 240) | def factorise_integer(n, memo={}, left=2): FILE: pyrate/core/aps.py function spatio_temporal_filter (line 43) | def spatio_temporal_filter(params: dict) -> None: function _calc_svd_time_series (line 101) | def _calc_svd_time_series(ifg_paths: List[str], params: dict, preread_if... function _assemble_tsincr (line 135) | def _assemble_tsincr(ifg_paths: List[str], params: dict, preread_ifgs: d... function _make_aps_corrections (line 151) | def _make_aps_corrections(ts_aps: np.ndarray, ifgs: List[Ifg], params: d... function _apply_aps_correction (line 175) | def _apply_aps_correction(ifg_paths: List[str], aps_paths: List[str], pa... function spatial_low_pass_filter (line 196) | def spatial_low_pass_filter(ts_hp: np.ndarray, ifg: Ifg, params: dict) -... function _interpolate_nans_2d (line 232) | def _interpolate_nans_2d(arr: np.ndarray, method: str) -> None: function _slpfilter (line 247) | def _slpfilter(phase: np.ndarray, ifg: Ifg, r_dist: float, params: dict)... function gaussian_spatial_filter (line 266) | def gaussian_spatial_filter(image: np.ndarray, cutoff: float, x_size: fl... function temporal_high_pass_filter (line 322) | def temporal_high_pass_filter(tsincr: np.ndarray, epochlist: EpochList, function gaussian_temporal_filter (line 366) | def gaussian_temporal_filter(tsincr: np.ndarray, cutoff: float, span: np... function _kernel (line 392) | def _kernel(x: np.ndarray, sigma: float) -> np.ndarray: FILE: pyrate/core/covariance.py function _pendiffexp (line 41) | def _pendiffexp(alphamod, cvdav): function _unique_points (line 56) | def _unique_points(points): # pragma: no cover function cvd (line 65) | def cvd(ifg_path, params, r_dist, calc_alpha=False, write_vals=False, sa... function _save_cvd_data (line 107) | def _save_cvd_data(acg, r_dist, ifg_path, outdir): function cvd_from_phase (line 116) | def cvd_from_phase(phase, ifg, r_dist, calc_alpha, save_acg=False, param... class RDist (line 199) | class RDist(): method __init__ (line 204) | def __init__(self, ifg): method __call__ (line 209) | def __call__(self): function _get_autogrid (line 229) | def _get_autogrid(phase): function _calc_autoc_grid (line 239) | def _calc_autoc_grid(phase): function _calc_power_spectrum (line 248) | def _calc_power_spectrum(phase): function get_vcmt (line 257) | def get_vcmt(ifgs, maxvar): function maxvar_vcm_calc_wrapper (line 312) | def maxvar_vcm_calc_wrapper(params): FILE: pyrate/core/dem_error.py function dem_error_calc_wrapper (line 35) | def dem_error_calc_wrapper(params: dict) -> None: function _process_dem_error_per_tile (line 86) | def _process_dem_error_per_tile(tile: Tile, params: dict) -> None: function _calculate_bperp_wrapper (line 141) | def _calculate_bperp_wrapper(ifg_paths: list, az_parts: np.ndarray, rg_p... function calc_dem_errors (line 169) | def calc_dem_errors(ifgs: list, bperp: np.ndarray, look_angle: np.ndarra... function _per_tile_setup (line 231) | def _per_tile_setup(ifgs: list) -> Tuple[np.ndarray, np.ndarray, int, in... function _write_dem_errors (line 259) | def _write_dem_errors(ifg_paths: list, params: dict, preread_ifgs: dict)... function __check_and_apply_demerrors_found_on_disc (line 306) | def __check_and_apply_demerrors_found_on_disc(ifg_paths: list, params: d... function _save_dem_error_corrected_phase (line 331) | def _save_dem_error_corrected_phase(ifg: Ifg, bperp: Optional[np.float64... class DEMError (line 345) | class DEMError(Exception): FILE: pyrate/core/gamma.py function _parse_header (line 69) | def _parse_header(path): function parse_epoch_header (line 79) | def parse_epoch_header(path): function _parse_date_time (line 173) | def _parse_date_time(lookup): function parse_dem_header (line 199) | def parse_dem_header(path): function parse_baseline_header (line 229) | def parse_baseline_header(path: str) -> dict: function _frequency_to_wavelength (line 270) | def _frequency_to_wavelength(freq): function combine_headers (line 277) | def combine_headers(hdr0, hdr1, dem_hdr, base_hdr=None): function manage_headers (line 443) | def manage_headers(dem_header_file, header_paths, baseline_paths=None): function get_header_paths (line 474) | def get_header_paths(input_file, slc_file_list): function gamma_header (line 490) | def gamma_header(ifg_file_path, params): function read_lookup_table (line 519) | def read_lookup_table(head, data_path, xlooks, ylooks, xmin, xmax, ymin,... function _check_raw_data (line 597) | def _check_raw_data(bytes_per_col, data_path, ncols, nrows): class GammaException (line 613) | class GammaException(Exception): function baseline_paths_for (line 617) | def baseline_paths_for(path: str, params: dict) -> str: FILE: pyrate/core/gdal_python.py function coherence_masking (line 36) | def coherence_masking(input_gdal_dataset: Dataset, coh_file_path: str, function world_to_pixel (line 64) | def world_to_pixel(geo_transform, x, y): function resample_nearest_neighbour (line 89) | def resample_nearest_neighbour(input_tif, extents, new_res, output_file): function _crop_resample_setup (line 109) | def _crop_resample_setup(extents, input_tif, new_res, output_file, function _gdalwarp_width_and_height (line 151) | def _gdalwarp_width_and_height(max_x, max_y, min_x, min_y, geo_trans): function crop_resample_average (line 164) | def crop_resample_average( function _add_looks_and_crop_from_header (line 254) | def _add_looks_and_crop_from_header(hdr, md, coh_thr): function _alignment (line 272) | def _alignment(input_tif, new_res, resampled_average, src_ds_mem, function gdal_average (line 296) | def gdal_average(dst_ds, src_ds, src_ds_mem, thresh): function _setup_source (line 327) | def _setup_source(input_tif): function _get_resampled_data_size (line 343) | def _get_resampled_data_size(xscale, yscale, data): FILE: pyrate/core/geometry.py function get_lonlat_coords (line 31) | def get_lonlat_coords(ifg: Ifg) -> Tuple[MemGeometry, MemGeometry]: function calc_radar_coords (line 55) | def calc_radar_coords(ifg: Ifg, params: dict, xmin: int, xmax: int, function get_sat_positions (line 89) | def get_sat_positions(lat: np.ndarray, lon: np.ndarray, look_angle: np.n... function calc_pixel_geometry (line 123) | def calc_pixel_geometry(ifg: Union[Ifg, IfgPart], rg: np.ndarray, lon: n... function calc_local_baseline (line 184) | def calc_local_baseline(ifg: Ifg, az: np.ndarray, look_angle: np.ndarray... function vincinv (line 218) | def vincinv(lat1: np.ndarray, lon1: np.ndarray, lat2: np.ndarray, lon2: ... FILE: pyrate/core/logger.py function configure_stage_log (line 32) | def configure_stage_log(verbosity, step_name, log_file_name='pyrate.log.'): function warn_with_traceback (line 48) | def warn_with_traceback(message, category, filename, lineno, line=None): class MPIStreamHandler (line 58) | class MPIStreamHandler(logging.StreamHandler): method emit (line 62) | def emit(self, record): FILE: pyrate/core/mpiops.py class MPI (line 48) | class MPI: class comm (line 51) | class comm: method barrier (line 57) | def barrier(): method reduce (line 61) | def reduce(arr, op, root=0): method Get_size (line 65) | def Get_size(): method allgather (line 69) | def allgather(* args): method gather (line 73) | def gather(* args, **kwargs): method allreduce (line 77) | def allreduce(arr, op): method Bcast (line 81) | def Bcast(arr, root=0): method bcast (line 85) | def bcast(arr, root=0): class MPIException (line 89) | class MPIException(Exception): function validate_mpi (line 93) | def validate_mpi(): function run_once (line 98) | def run_once(f: Callable, *args, **kwargs) -> Any: function array_split (line 129) | def array_split(arr: Iterable, process: int = None) -> Iterable: function sum_vars (line 147) | def sum_vars(x, y, dtype): function sum_axis_0 (line 152) | def sum_axis_0(x, y, dtype): FILE: pyrate/core/mst.py function mst_from_ifgs (line 45) | def mst_from_ifgs(ifgs): function mst_parallel (line 73) | def mst_parallel(ifgs, params): function mst_multiprocessing (line 114) | def mst_multiprocessing(tile, ifgs_or_paths, preread_ifgs=None, params=N... function _build_graph_networkx (line 137) | def _build_graph_networkx(edges_with_weights): function mst_boolean_array (line 146) | def mst_boolean_array(ifgs): function _mst_matrix_ifgs_only (line 173) | def _mst_matrix_ifgs_only(ifgs): function _mst_matrix_as_array (line 190) | def _mst_matrix_as_array(ifgs): function mst_matrix_networkx (line 205) | def mst_matrix_networkx(ifgs): function _minimum_spanning_edges_from_mst (line 260) | def _minimum_spanning_edges_from_mst(edges): function mst_calc_wrapper (line 270) | def mst_calc_wrapper(params): FILE: pyrate/core/orbital.py function remove_orbital_error (line 74) | def remove_orbital_error(ifgs: List, params: dict) -> None: function __create_multilooked_datasets (line 130) | def __create_multilooked_datasets(params): function __extents_from_params (line 141) | def __extents_from_params(params): function _create_mlooked_dataset (line 152) | def _create_mlooked_dataset(multi_path, ifg_path, exts, params): function _validate_mlooked (line 169) | def _validate_mlooked(mlooked, ifgs): function _get_num_params (line 183) | def _get_num_params(degree, intercept: Optional[bool] = False): function independent_orbital_correction (line 205) | def independent_orbital_correction(ifg_path, params): function __orb_correction (line 273) | def __orb_correction(fullres_dm, mlooked_dm, fullres_phase, mlooked_phas... function __orb_inversion (line 294) | def __orb_inversion(design_matrix, data): function network_orbital_correction (line 303) | def network_orbital_correction(ifg_paths, params, m_ifgs: Optional[List]... function calc_network_orb_correction (line 366) | def calc_network_orb_correction(src_ifgs, degree, scale, nepochs, interc... function __check_and_apply_orberrors_found_on_disc (line 392) | def __check_and_apply_orberrors_found_on_disc(ifg_paths, params): function _remove_network_orb_error (line 410) | def _remove_network_orb_error(coefs, dm, ifg, ids, offset, params): function _save_orbital_error_corrected_phase (line 431) | def _save_orbital_error_corrected_phase(ifg, params): function __methods_as_string (line 446) | def __methods_as_string(method): function __degrees_as_string (line 452) | def __degrees_as_string(degree): function get_design_matrix (line 459) | def get_design_matrix(ifg, degree, intercept: Optional[bool] = True, sca... function get_network_design_matrix (line 519) | def get_network_design_matrix(ifgs, degree, scale, intercept=True): class OrbitalError (line 573) | class OrbitalError(Exception): function orb_fit_calc_wrapper (line 579) | def orb_fit_calc_wrapper(params: dict) -> None: FILE: pyrate/core/phase_closure/closure_check.py function mask_pixels_with_unwrapping_errors (line 32) | def mask_pixels_with_unwrapping_errors(ifgs_breach_count: NDArray[(Any, ... function __drop_ifgs_if_not_part_of_any_loop (line 56) | def __drop_ifgs_if_not_part_of_any_loop(ifg_files: List[str], loops: Lis... function __drop_ifgs_exceeding_threshold (line 80) | def __drop_ifgs_exceeding_threshold(orig_ifg_files: List[str], ifgs_brea... function iterative_closure_check (line 113) | def iterative_closure_check(config, interactive_plot=True) -> \ function discard_loops_containing_max_ifg_count (line 147) | def discard_loops_containing_max_ifg_count(loops: List[WeightedLoop], pa... function __wrap_closure_check (line 169) | def __wrap_closure_check(config: Configuration) -> \ function update_ifg_list (line 223) | def update_ifg_list(ifg_files: List[str], multi_paths: List[MultiplePath... FILE: pyrate/core/phase_closure/collect_loops.py function dfs (line 21) | def dfs(graph, marked, n, vert, start, count, loop, all_loops): function find_loops (line 59) | def find_loops(graph, loop_length): function dedupe_loops (line 76) | def dedupe_loops(loops: List[List]) -> List: FILE: pyrate/core/phase_closure/mst_closure.py class SignedEdge (line 31) | class SignedEdge: method __init__ (line 33) | def __init__(self, edge: Edge, sign: int): method __repr__ (line 39) | def __repr__(self): class SignedWeightedEdge (line 43) | class SignedWeightedEdge(SignedEdge): method __init__ (line 45) | def __init__(self, signed_edge: SignedEdge, weight: int): class WeightedLoop (line 51) | class WeightedLoop: method __init__ (line 56) | def __init__(self, loop: List[SignedWeightedEdge]): method weight (line 60) | def weight(self): method earliest_date (line 64) | def earliest_date(self): method primary_dates (line 68) | def primary_dates(self): method secondary_dates (line 75) | def secondary_dates(self): method __len__ (line 81) | def __len__(self): method edges (line 85) | def edges(self): function __find_closed_loops (line 89) | def __find_closed_loops(edges: List[Edge], max_loop_length: int) -> List... function __add_signs_and_weights_to_loops (line 119) | def __add_signs_and_weights_to_loops(loops: List[List[date]], available_... function __setup_edges (line 152) | def __setup_edges(ifg_files: List[str]) -> List[Edge]: function __find_signed_closed_loops (line 161) | def __find_signed_closed_loops(params: dict) -> List[WeightedLoop]: function sort_loops_based_on_weights_and_date (line 171) | def sort_loops_based_on_weights_and_date(params: dict) -> List[WeightedL... FILE: pyrate/core/phase_closure/plot_closure.py function plot_closure (line 27) | def plot_closure(closure: np.ndarray, loops: List[WeightedLoop], FILE: pyrate/core/phase_closure/sum_closure.py class IfgPhase (line 32) | class IfgPhase: method __init__ (line 37) | def __init__(self, phase_data): function __create_ifg_edge_dict (line 41) | def __create_ifg_edge_dict(ifg_files: List[str], params: dict) -> Dict[E... function sum_phase_closures (line 64) | def sum_phase_closures(ifg_files: List[str], loops: List[WeightedLoop], ... function _find_num_occurrences_each_ifg (line 145) | def _find_num_occurrences_each_ifg(loops: List[WeightedLoop], function __compute_ifgs_breach_count (line 158) | def __compute_ifgs_breach_count(weighted_loop: WeightedLoop, FILE: pyrate/core/prepifg_helper.py function get_analysis_extent (line 51) | def get_analysis_extent(crop_opt: int, rasters: List[Union[Ifg, DEM]], x... function _is_number (line 84) | def _is_number(s): function _check_looks (line 97) | def _check_looks(xlooks, ylooks): function _check_resolution (line 116) | def _check_resolution(ifgs: List[Union[Ifg, DEM]]): function _get_extents (line 133) | def _get_extents(ifgs, crop_opt, user_exts=None): function prepare_ifg (line 155) | def prepare_ifg(raster_path, xlooks, ylooks, exts, thresh, crop_opt, hea... function _resample (line 206) | def _resample(data, xscale, yscale, thresh): function __bounds (line 240) | def __bounds(ifgs: List[Ifg], func: Callable) -> Tuple[float, float, flo... function _get_same_bounds (line 265) | def _get_same_bounds(ifgs: List[Ifg]) -> Tuple[float, float, float, float]: function _custom_bounds (line 300) | def _custom_bounds(ifgs, xw, ytop, xe, ybot): function _check_crop_coords (line 359) | def _check_crop_coords(ifgs, xmin, ymin, xmax, ymax): class PreprocessError (line 384) | class PreprocessError(Exception): function transform_params (line 390) | def transform_params(params): function coherence_paths_for (line 405) | def coherence_paths_for(path: str, params: dict, tif=False) -> str: FILE: pyrate/core/ref_phs_est.py function est_ref_phase_patch_median (line 35) | def est_ref_phase_patch_median(ifg_paths, params, refpx, refpy): function _est_ref_phs_patch_median (line 81) | def _est_ref_phs_patch_median(phase_data, half_chip_size, refpx, refpy, ... function est_ref_phase_ifg_median (line 98) | def est_ref_phase_ifg_median(ifg_paths, params): function _est_ref_phs_ifg_median (line 160) | def _est_ref_phs_ifg_median(phase_data, comp): function _update_phase_and_metadata (line 169) | def _update_phase_and_metadata(ifgs, ref_phs, params): class ReferencePhaseError (line 191) | class ReferencePhaseError(Exception): function ref_phase_est_wrapper (line 198) | def ref_phase_est_wrapper(params): FILE: pyrate/core/refpixel.py function update_refpix_metadata (line 42) | def update_refpix_metadata(ifg_paths, refx, refy, transform, params): function convert_pixel_value_to_geographic_coordinate (line 78) | def convert_pixel_value_to_geographic_coordinate(refx, refy, transform): function lat_from_pixel_coordinate (line 97) | def lat_from_pixel_coordinate(refy, transform): function lon_from_pixel_coordinate (line 104) | def lon_from_pixel_coordinate(refx, transform): function convert_geographic_coordinate_to_pixel_value (line 111) | def convert_geographic_coordinate_to_pixel_value(lon, lat, transform): function ref_pixel (line 136) | def ref_pixel(ifgs, params): function find_min_mean (line 180) | def find_min_mean(mean_sds, grid): function ref_pixel_setup (line 200) | def ref_pixel_setup(ifgs_or_paths, params): function save_ref_pixel_blocks (line 247) | def save_ref_pixel_blocks(grid, half_patch_size, ifg_paths, params): function _ref_pixel_mpi (line 277) | def _ref_pixel_mpi(process_grid, half_patch_size, ifgs, thresh, params): function _ref_pixel_multi (line 288) | def _ref_pixel_multi(g, half_patch_size, phase_data_or_ifg_paths, function _step (line 319) | def _step(dim, ref, radius): function _validate_chipsize (line 344) | def _validate_chipsize(chipsize, head): function _validate_minimum_fraction (line 357) | def _validate_minimum_fraction(min_frac): function _validate_search_win (line 368) | def _validate_search_win(refnx, refny, chipsize, head): function __validate_supplied_lat_lon (line 389) | def __validate_supplied_lat_lon(params: dict) -> None: class RefPixelError (line 413) | class RefPixelError(Exception): function ref_pixel_calc_wrapper (line 419) | def ref_pixel_calc_wrapper(params: dict) -> Tuple[int, int]: FILE: pyrate/core/roipac.py function parse_date (line 77) | def parse_date(dstr): function parse_header (line 98) | def parse_header(hdr_file): function _parse_dates_from (line 169) | def _parse_dates_from(filename): function manage_header (line 186) | def manage_header(header_file, projection): function roipac_header (line 204) | def roipac_header(file_path, params): class RoipacException (line 234) | class RoipacException(Exception): FILE: pyrate/core/shared.py class InputTypes (line 68) | class InputTypes(Enum): function joblib_log_level (line 82) | def joblib_log_level(level: str) -> int: function mkdir_p (line 91) | def mkdir_p(path): class RasterBase (line 108) | class RasterBase(object): method __init__ (line 114) | def __init__(self, path: Union[gdal.Dataset, str, Path]): method __str__ (line 128) | def __str__(self): method __repr__ (line 132) | def __repr__(self): method open (line 136) | def open(self, readonly=None): method add_geographic_data (line 161) | def add_geographic_data(self): method ncols (line 174) | def ncols(self): method nrows (line 181) | def nrows(self): method x_step (line 188) | def x_step(self): method y_step (line 195) | def y_step(self): method x_first (line 202) | def x_first(self): method x_last (line 209) | def x_last(self): method y_first (line 216) | def y_first(self): method y_last (line 223) | def y_last(self): method shape (line 230) | def shape(self): method num_cells (line 237) | def num_cells(self): method is_open (line 247) | def is_open(self): method close (line 253) | def close(self): method is_read_only (line 263) | def is_read_only(self): method _get_band (line 269) | def _get_band(self, band): class Ifg (line 281) | class Ifg(RasterBase): method __init__ (line 287) | def __init__(self, path: Union[str, Path, gdal.Dataset]): method open (line 305) | def open(self, readonly=None): method initialize (line 314) | def initialize(self): method _init_dates (line 324) | def _init_dates(self): method convert_to_nans (line 342) | def convert_to_nans(self): method phase_band (line 371) | def phase_band(self): method nodata_value (line 380) | def nodata_value(self): method nodata_value (line 387) | def nodata_value(self, val): method phase_data (line 394) | def phase_data(self): method convert_to_mm (line 403) | def convert_to_mm(self): method convert_to_radians (line 430) | def convert_to_radians(self): method phase_data (line 454) | def phase_data(self, data): method phase_rows (line 461) | def phase_rows(self): method nan_count (line 471) | def nan_count(self): method nan_fraction (line 478) | def nan_fraction(self): method write_modified_phase (line 494) | def write_modified_phase(self, data=None): method add_metadata (line 518) | def add_metadata(self, **kwargs): class Tile (line 527) | class Tile: method __init__ (line 531) | def __init__(self, index, top_left, bottom_right): method __str__ (line 549) | def __str__(self): class IfgPart (line 553) | class IfgPart(object): method __init__ (line 557) | def __init__(self, ifg_or_path, tile: Tile, ifg_dict=None, params=None): method read_tile (line 591) | def read_tile(self, ifg: Ifg): method nrows (line 608) | def nrows(self): method ncols (line 615) | def ncols(self): class Incidence (line 622) | class Incidence(RasterBase): # pragma: no cover method __init__ (line 628) | def __init__(self, path): method incidence_band (line 639) | def incidence_band(self): method incidence_data (line 649) | def incidence_data(self): method azimuth_band (line 658) | def azimuth_band(self): method azimuth_data (line 667) | def azimuth_data(self): class TileMixin (line 676) | class TileMixin: method __call__ (line 677) | def __call__(self, tile: Tile): class DEM (line 682) | class DEM(RasterBase, TileMixin): method __init__ (line 687) | def __init__(self, path): method band (line 696) | def band(self): method data (line 707) | def data(self): class MemGeometry (line 716) | class MemGeometry(TileMixin): method __init__ (line 718) | def __init__(self, data): method data (line 725) | def data(self): class IfgException (line 732) | class IfgException(Exception): class RasterException (line 738) | class RasterException(Exception): class EpochList (line 744) | class EpochList(object): method __init__ (line 749) | def __init__(self, dates=None, repeat=None, spans=None): method __str__ (line 757) | def __str__(self): method __repr__ (line 760) | def __repr__(self): function convert_radians_to_mm (line 764) | def convert_radians_to_mm(data, wavelength): function convert_mm_to_radians (line 777) | def convert_mm_to_radians(data, wavelength): function nanmedian (line 790) | def nanmedian(x): function _is_interferogram (line 808) | def _is_interferogram(hdr): function _is_coherence (line 816) | def _is_coherence(hdr): function _is_baseline (line 824) | def _is_baseline(hdr): function _is_lookuptable (line 832) | def _is_lookuptable(hdr): function _is_incidence (line 840) | def _is_incidence(hdr): function write_fullres_geotiff (line 847) | def write_fullres_geotiff(header, data_path, dest, nodata): function gdal_dataset (line 912) | def gdal_dataset(out_fname, columns, rows, driver="GTiff", bands=1, function collate_metadata (line 942) | def collate_metadata(header): function data_format (line 994) | def data_format(ifg_proc, is_ifg, ncols): function _check_raw_data (line 1014) | def _check_raw_data(bytes_per_col, data_path, ncols, nrows): function write_unw_from_data_or_geotiff (line 1025) | def write_unw_from_data_or_geotiff(geotif_or_data, dest_unw, ifg_proc): function write_output_geotiff (line 1057) | def write_output_geotiff(md, gt, wkt, data, dest, nodata): function write_geotiff (line 1098) | def write_geotiff(data, outds, nodata): class GeotiffException (line 1129) | class GeotiffException(Exception): function create_tiles (line 1135) | def create_tiles(shape, nrows=2, ncols=2): function get_tiles (line 1164) | def get_tiles(ifg_path, rows, cols) -> List[Tile]: function nan_and_mm_convert (line 1183) | def nan_and_mm_convert(ifg, params): function cell_size (line 1201) | def cell_size(lat, lon, x_step, y_step): function _utm_zone (line 1230) | def _utm_zone(longitude): class PrereadIfg (line 1241) | class PrereadIfg: method __init__ (line 1247) | def __init__(self, path, tmp_path, nan_fraction, first, second, time_s... function save_numpy_phase (line 1261) | def save_numpy_phase(ifg_paths, params): function get_geotiff_header_info (line 1291) | def get_geotiff_header_info(ifg_path): function warp_required (line 1312) | def warp_required(xlooks, ylooks, crop): function check_correction_status (line 1330) | def check_correction_status(ifgs, meta): # pragma: no cover class CorrectionStatusError (line 1372) | class CorrectionStatusError(Exception): function extract_epochs_from_filename (line 1378) | def extract_epochs_from_filename(filename_with_epochs: str) -> List[str]: function mpi_vs_multiprocess_logging (line 1385) | def mpi_vs_multiprocess_logging(step, params): function dem_or_ifg (line 1397) | def dem_or_ifg(data_path: str) -> Union[Ifg, DEM]: function join_dicts (line 1415) | def join_dicts(dicts: List[dict]) -> dict: function iterable_split (line 1425) | def iterable_split(func: Callable, iterable: Iterable, params: dict, *ar... function tiles_split (line 1452) | def tiles_split(func: Callable, params: dict, *args, **kwargs) -> np.nda... function output_tiff_filename (line 1462) | def output_tiff_filename(inpath: str, outpath: str) -> str: function remove_file_if_exists (line 1479) | def remove_file_if_exists(filename: str) -> None: FILE: pyrate/core/stack.py function stack_rate_array (line 34) | def stack_rate_array(ifgs, params, vcmt, mst=None): function mask_rate (line 62) | def mask_rate(rate, error, maxsig): function stack_rate_pixel (line 92) | def stack_rate_pixel(obs, mst, vcmt, span, nsig, pthresh): function _stack_setup (line 168) | def _stack_setup(ifgs, mst, params): function stack_calc_wrapper (line 194) | def stack_calc_wrapper(params): function _stacking_for_tile (line 208) | def _stacking_for_tile(tile, params): FILE: pyrate/core/timeseries.py function _time_series_setup (line 40) | def _time_series_setup(ifgs, params, mst=None): function _validate_params (line 87) | def _validate_params(params, tsmethod): function time_series (line 111) | def time_series(ifgs, params, vcmt=None, mst=None): function _remove_rank_def_rows (line 160) | def _remove_rank_def_rows(b_mat, nvelpar, ifgv, sel): function _time_series_pixel (line 173) | def _time_series_pixel(row, col, b0_mat, sm_factor, sm_order, ifg_data, ... function _solve_ts_svd (line 214) | def _solve_ts_svd(nvelpar, velflag, ifgv, b_mat): function _solve_ts_lap (line 225) | def _solve_ts_lap(nvelpar, velflag, ifgv, mat_b, smorder, smfactor, sel,... function linear_rate_pixel (line 292) | def linear_rate_pixel(y, t): function linear_rate_array (line 332) | def linear_rate_array(tscuml, ifgs, params): function _missing_option_error (line 382) | def _missing_option_error(option): class TimeSeriesError (line 390) | class TimeSeriesError(Exception): function timeseries_calc_wrapper (line 396) | def timeseries_calc_wrapper(params): function __calc_time_series_for_tile (line 413) | def __calc_time_series_for_tile(tile, params): FILE: pyrate/correct.py function _create_ifg_dict (line 46) | def _create_ifg_dict(params): function __save_ifgs_dict_with_headers_and_epochs (line 87) | def __save_ifgs_dict_with_headers_and_epochs(dest_tifs, ifgs_dict, param... function _copy_mlooked (line 111) | def _copy_mlooked(params): function main (line 124) | def main(config): function _update_params_with_tiles (line 145) | def _update_params_with_tiles(params: dict) -> None: function phase_closure_wrapper (line 153) | def phase_closure_wrapper(params: dict, config: Configuration) -> dict: function correct_ifgs (line 208) | def correct_ifgs(config: Configuration) -> None: function __validate_correct_steps (line 237) | def __validate_correct_steps(params): FILE: pyrate/main.py function _params_from_conf (line 37) | def _params_from_conf(config_file): function update_params_due_to_ifg_selection (line 44) | def update_params_due_to_ifg_selection(config): function main (line 53) | def main(): function timeseries (line 160) | def timeseries(config: Configuration) -> None: function stack (line 167) | def stack(config: Configuration) -> None: FILE: pyrate/merge.py function main (line 37) | def main(params: dict) -> None: function _merge_stack (line 79) | def _merge_stack(params: dict) -> None: function _merge_linrate (line 104) | def _merge_linrate(params: dict) -> None: function _merge_timeseries (line 121) | def _merge_timeseries(params: dict, tstype: str) -> None: function create_png_and_kml_from_tif (line 149) | def create_png_and_kml_from_tif(output_folder_path: str, output_type: st... function assemble_tiles (line 240) | def assemble_tiles(s: Tuple, dir: str, tiles: Tile, out_type: str, index... function __save_merged_files (line 290) | def __save_merged_files(ifgs_dict, params, array, out_type, index=None, ... function __merge_setup (line 350) | def __merge_setup(params): FILE: pyrate/prepifg.py function main (line 63) | def main(params): function __calc_coherence_stats (line 119) | def __calc_coherence_stats(params, ifg_path): function do_prepifg (line 137) | def do_prepifg(multi_paths: List[MultiplePaths], exts: Tuple[float, floa... function __prepifg_system (line 181) | def __prepifg_system(exts, gtiff, params, res): function __update_meta_data (line 250) | def __update_meta_data(p_unset, c, l, params): function _prepifg_multiprocessing (line 279) | def _prepifg_multiprocessing(m_path: MultiplePaths, exts: Tuple[float, f... function find_header (line 308) | def find_header(path: MultiplePaths, params: dict) -> Dict[str, str]: function __write_geometry_files (line 324) | def __write_geometry_files(params: dict, exts: Tuple[float, float, float... function __parallelly_write (line 370) | def __parallelly_write(tup, params, ifg_path): function __save_geom_files (line 391) | def __save_geom_files(ifg_path, dest, array, out_type): FILE: scripts/gdal_calc_local.py function doit (line 58) | def doit(opts, args): function Calc (line 304) | def Calc(calc, outfile, NoDataValue=None, type=None, format='GTiff', cre... function store_input_file (line 338) | def store_input_file(option, opt_str, value, parser): function main (line 343) | def main(): FILE: scripts/plot_ifgs.py function main (line 44) | def main(): function __plot_ifg (line 118) | def __plot_ifg(file, cmap, ax, num_ifgs, params): FILE: setup.py function update_reqs_based_on_envs (line 50) | def update_reqs_based_on_envs(reqs): class CustomInstall (line 61) | class CustomInstall(install): method run (line 62) | def run(self): method install_setup_requirements (line 72) | def install_setup_requirements(): method install_requirements (line 78) | def install_requirements(): class PyTest (line 89) | class PyTest(TestCommand, object): method initialize_options (line 91) | def initialize_options(self): method finalize_options (line 95) | def finalize_options(self): method run_tests (line 100) | def run_tests(self): FILE: tests/common.py function remove_tifs (line 159) | def remove_tifs(path): function small_data_setup (line 165) | def small_data_setup(datafiles=None, is_dir=False): function assert_tifs_equal (line 186) | def assert_tifs_equal(tif1, tif2): function copy_small_ifg_file_list (line 209) | def copy_small_ifg_file_list(): function copy_and_setup_small_data (line 218) | def copy_and_setup_small_data(): function small_ifg_file_list (line 229) | def small_ifg_file_list(datafiles=None): function small_data_roipac_unws (line 241) | def small_data_roipac_unws(): function small_data_setup_gamma_unws (line 247) | def small_data_setup_gamma_unws(): function small5_ifgs (line 253) | def small5_ifgs(): function small5_ifg_paths (line 260) | def small5_ifg_paths(): function small5_mock_ifgs (line 270) | def small5_mock_ifgs(xs=3, ys=4): class MockIfg (line 280) | class MockIfg(object): method __init__ (line 283) | def __init__(self, ifg, xsize=None, ysize=None): method __repr__ (line 304) | def __repr__(self, *args, **kwargs): method open (line 307) | def open(self): method nan_count (line 312) | def nan_count(self): method shape (line 316) | def shape(self): method write_modified_phase (line 319) | def write_modified_phase(self): #dummy method close (line 322) | def close(self): # dummy function reconstruct_stack_rate (line 326) | def reconstruct_stack_rate(shape, tiles, output_dir, out_type): function reconstruct_mst (line 337) | def reconstruct_mst(shape, tiles, output_dir): function move_files (line 349) | def move_files(source_dir, dest_dir, file_type='*.tif', copy=False): function assert_ifg_phase_equal (line 357) | def assert_ifg_phase_equal(ifg_path1, ifg_path2): function prepare_ifgs_without_phase (line 365) | def prepare_ifgs_without_phase(ifg_paths, params): function mst_calculation (line 377) | def mst_calculation(ifg_paths_or_instance, params): function get_nml (line 391) | def get_nml(ifg_list_instance, nodata_value, nan_conversion=False): function compute_time_series (line 412) | def compute_time_series(ifgs, mst_grid, params, vcmt): function calculate_time_series (line 431) | def calculate_time_series(ifgs, params, vcmt, mst): function write_timeseries_geotiff (line 441) | def write_timeseries_geotiff(ifgs, params, tsincr, pr_type): function calculate_stack_rate (line 457) | def calculate_stack_rate(ifgs, params, vcmt, mst_mat=None): function write_stackrate_tifs (line 471) | def write_stackrate_tifs(ifgs, params, res): function write_stackrate_numpy_files (line 488) | def write_stackrate_numpy_files(error, rate, samples, params): function copytree (line 497) | def copytree(src: Union[str, bytes, os.PathLike], dst: Union[str, bytes,... function repair_params_for_correct_tests (line 535) | def repair_params_for_correct_tests(out_dir, params): function pre_prepare_ifgs (line 546) | def pre_prepare_ifgs(ifg_paths, params): function assert_two_dirs_equal (line 557) | def assert_two_dirs_equal(dir1, dir2, ext, num_files=None): function assert_same_files_produced (line 586) | def assert_same_files_produced(dir1, dir2, dir3, ext, num_files=None): function manipulate_test_conf (line 600) | def manipulate_test_conf(conf_file, work_dir: Path): class UnitTestAdaptation (line 642) | class UnitTestAdaptation: method assertEqual (line 644) | def assertEqual(arg1, arg2): method assertTrue (line 648) | def assertTrue(arg, msg=''): method assertFalse (line 652) | def assertFalse(arg, msg=''): method assertIsNotNone (line 656) | def assertIsNotNone(arg, msg=''): method assertIsNone (line 660) | def assertIsNone(arg, msg=''): method assertDictEqual (line 664) | def assertDictEqual(d1: dict, d2: dict): method assertRaises (line 668) | def assertRaises(excpt: Exception, func, *args, **kwargs): method assertIn (line 673) | def assertIn(item, s: Iterable): method assertAlmostEqual (line 677) | def assertAlmostEqual(arg1, arg2, places=7): function min_params (line 683) | def min_params(out_dir): function sub_process_run (line 698) | def sub_process_run(cmd, *args, **kwargs): function original_ifg_paths (line 702) | def original_ifg_paths(ifglist_path, working_dir): FILE: tests/conftest.py function tempdir (line 34) | def tempdir(): function system_conf (line 44) | def system_conf(request): function random_filename (line 51) | def random_filename(tmp_path_factory): function mpisync (line 60) | def mpisync(request): function coh_mask (line 71) | def coh_mask(request): function ref_est_method (line 76) | def ref_est_method(request): function ref_pixel (line 81) | def ref_pixel(request): function orbfit_lks (line 86) | def orbfit_lks(request): function orbfit_method (line 91) | def orbfit_method(request): function orbfit_degrees (line 96) | def orbfit_degrees(request): function get_lks (line 101) | def get_lks(request): function get_crop (line 106) | def get_crop(request): function get_config (line 111) | def get_config(): function gamma_params (line 119) | def gamma_params(): function roipac_params (line 127) | def roipac_params(): function mexico_cropa_params (line 134) | def mexico_cropa_params(): function roipac_or_gamma_conf (line 141) | def roipac_or_gamma_conf(request): function gamma_conf (line 146) | def gamma_conf(request): function coh_list_file (line 153) | def coh_list_file(): function dem (line 158) | def dem(): function gamma_or_mexicoa_conf (line 165) | def gamma_or_mexicoa_conf(request): function run_number (line 172) | def run_number(request): function geotiffs (line 180) | def geotiffs(): function ten_geotiffs (line 187) | def ten_geotiffs(): function cropa_geotifs (line 194) | def cropa_geotifs(mexico_cropa_params): FILE: tests/phase_closure/common.py class IfgDummy (line 1) | class IfgDummy: method __init__ (line 2) | def __init__(self, ifg_path): FILE: tests/phase_closure/conftest.py function closure_params (line 9) | def closure_params(geotiffs): function cropa_geotifs (line 20) | def cropa_geotifs(): FILE: tests/phase_closure/test_closure_check.py function test_discard_loops_containing_max_ifg_count (line 30) | def test_discard_loops_containing_max_ifg_count(closure_params): function retain_loops (line 39) | def retain_loops(params): function test_drop_ifgs_if_not_part_of_any_loop (line 55) | def test_drop_ifgs_if_not_part_of_any_loop(closure_params): FILE: tests/phase_closure/test_collect_loops.py function test_collect_loops (line 10) | def test_collect_loops(): function test_count_loops (line 28) | def test_count_loops(): function __find_closed_loops_nx (line 47) | def __find_closed_loops_nx(edges: List[Edge], max_loop_length: int) -> L... function available_edges (line 69) | def available_edges(cropa_geotifs): function max_loop_length (line 74) | def max_loop_length(available_edges): function test_find_closed_loops_vs_networkx (line 80) | def test_find_closed_loops_vs_networkx(available_edges): FILE: tests/phase_closure/test_mst_closure.py function geotiffs (line 34) | def geotiffs(): function all_loops (line 41) | def all_loops(geotiffs): function edges (line 49) | def edges(geotiffs): function signed_loops (line 55) | def signed_loops(all_loops, edges): function weight (line 61) | def weight(request): function test_setup_edges (line 65) | def test_setup_edges(geotiffs): function test_associate_ifgs_with_loops (line 71) | def test_associate_ifgs_with_loops(signed_loops, geotiffs): function test_sort_loops_based_on_weights_and_date (line 83) | def test_sort_loops_based_on_weights_and_date(geotiffs): function test_add_signs_and_weights_to_loops (line 105) | def test_add_signs_and_weights_to_loops(closure_params): function compare_loops (line 120) | def compare_loops(loops1, loops2): function test_find_signed_closed_loops (line 132) | def test_find_signed_closed_loops(closure_params): function test_sort_loops_based_on_weights_and_date_2 (line 138) | def test_sort_loops_based_on_weights_and_date_2(closure_params): FILE: tests/phase_closure/test_plot_closure.py function test_plot_closure (line 46) | def test_plot_closure(mexico_cropa_params): FILE: tests/phase_closure/test_sum_closure.py function modified_config (line 27) | def modified_config(tempdir, get_lks=1, get_crop=1, orbfit_lks=2, orbfit... function test_mpi_vs_single_process (line 65) | def test_mpi_vs_single_process(modified_config): FILE: tests/test_algorithm.py class TestLeastSquaresTests (line 42) | class TestLeastSquaresTests(UnitTestAdaptation): method test_least_squares_covariance (line 48) | def test_least_squares_covariance(): method test_least_squares_covariance_overdetermined (line 56) | def test_least_squares_covariance_overdetermined(self): class TestAlgorithmTests (line 70) | class TestAlgorithmTests(UnitTestAdaptation): method test_factorise (line 75) | def test_factorise(self): method test_is_square (line 86) | def test_is_square(self): method test_is_not_square (line 89) | def test_is_not_square(self): method test_phase_conversion (line 94) | def test_phase_conversion(): method test_unit_vector (line 104) | def test_unit_vector(self): class TestDateLookup (line 137) | class TestDateLookup(UnitTestAdaptation): method setup_class (line 143) | def setup_class(cls): method test_ifg_date_lookup (line 146) | def test_ifg_date_lookup(self): method test_ifg_date_lookup_failure (line 157) | def test_ifg_date_lookup_failure(self): method test_date_lookup_bad_inputs (line 162) | def test_date_lookup_bad_inputs(self): class TestEpochs (line 181) | class TestEpochs(UnitTestAdaptation): method test_get_epochs (line 186) | def test_get_epochs(self): method test_get_all_epochs (line 211) | def test_get_all_epochs(self): method test_get_epoch_count (line 221) | def test_get_epoch_count(self): method test_first_second_ids (line 224) | def test_first_second_ids(self): FILE: tests/test_aps.py function slpnanfill_method (line 40) | def slpnanfill_method(request): function slpfcutoff_method (line 45) | def slpfcutoff_method(request): function slpfcutoff (line 50) | def slpfcutoff(request): function test_interpolate_nans_2d (line 54) | def test_interpolate_nans_2d(slpnanfill_method): class TestSpatialFilter (line 62) | class TestSpatialFilter: method setup_method (line 67) | def setup_method(self): method test_gaussian_filter (line 78) | def test_gaussian_filter(self, slpfcutoff_method): function test_gaussian_kernel (line 92) | def test_gaussian_kernel(): class TestTemporalFilter (line 110) | class TestTemporalFilter: method setup_method (line 115) | def setup_method(self): method test_tlpfilter_repeatability (line 130) | def test_tlpfilter_repeatability(self): method test_tlpfilter_scipy_sig1 (line 141) | def test_tlpfilter_scipy_sig1(self): method test_tlpfilter_scipy_sig2 (line 150) | def test_tlpfilter_scipy_sig2(self): method test_tlpfilter_scipy_sig05 (line 159) | def test_tlpfilter_scipy_sig05(self): class TestAPSErrorCorrectionsOnDiscReused (line 171) | class TestAPSErrorCorrectionsOnDiscReused: method setup_method (line 174) | def setup_method(cls): method teardown_method (line 193) | def teardown_method(cls): method test_aps_error_files_on_disc (line 196) | def test_aps_error_files_on_disc(self, slpnanfill_method, slpfcutoff): FILE: tests/test_constants.py function six_digits_filenames (line 10) | def six_digits_filenames(): function eight_digits_filenames (line 15) | def eight_digits_filenames(): function test_file_patterns (line 27) | def test_file_patterns(regex_pattern, extracted_string_length, six_digit... FILE: tests/test_conv2tif.py function test_dem_and_incidence_not_converted (line 35) | def test_dem_and_incidence_not_converted(gamma_params): function test_conv2tif_file_types (line 46) | def test_conv2tif_file_types(tempdir, gamma_conf): function test_tifs_placed_in_out_dir (line 78) | def test_tifs_placed_in_out_dir(gamma_params): function test_num_gamma_tifs_equals_num_unws (line 91) | def test_num_gamma_tifs_equals_num_unws(gamma_params): function test_num_roipac_tifs_equals_num_unws (line 99) | def test_num_roipac_tifs_equals_num_unws(roipac_params): function test_conversion_not_recomputed (line 105) | def test_conversion_not_recomputed(gamma_params): function test_no_tifs_exits (line 116) | def test_no_tifs_exits(gamma_params): function test_tifs_succeeds (line 121) | def test_tifs_succeeds(gamma_params): FILE: tests/test_correct.py function test_unsupported_process_steps_raises (line 29) | def test_unsupported_process_steps_raises(gamma_conf): function test_supported_process_steps_dont_raise (line 37) | def test_supported_process_steps_dont_raise(gamma_params): function test_process_treats_prepif_outputs_readonly (line 45) | def test_process_treats_prepif_outputs_readonly(gamma_conf, tempdir, coh... FILE: tests/test_covariance.py class TestCovariance (line 44) | class TestCovariance: method setup_class (line 47) | def setup_class(cls): method test_covariance_basic (line 57) | def test_covariance_basic(self): method test_covariance_17ifgs (line 65) | def test_covariance_17ifgs(self): class TestVCMT (line 95) | class TestVCMT: method setup_class (line 97) | def setup_class(cls): method test_vcm_basic (line 100) | def test_vcm_basic(self): method test_vcm_17ifgs (line 113) | def test_vcm_17ifgs(self): class TestLegacyEquality (line 179) | class TestLegacyEquality: method setup_class (line 181) | def setup_class(cls): method teardown_class (line 224) | def teardown_class(cls): method test_legacy_maxvar_equality_small_test_files (line 227) | def test_legacy_maxvar_equality_small_test_files(self): method test_legacy_vcmt_equality_small_test_files (line 230) | def test_legacy_vcmt_equality_small_test_files(self): method test_metadata (line 236) | def test_metadata(self): method test_save_cvd_data (line 243) | def test_save_cvd_data(self): FILE: tests/test_dem_error.py function point (line 25) | def point(): class TestPyRateGammaBperp (line 30) | class TestPyRateGammaBperp: method setup_class (line 33) | def setup_class(cls): method gamma_bperp (line 53) | def gamma_bperp(self, x, y): method pyrate_bperp (line 102) | def pyrate_bperp(cls): method teardown_class (line 121) | def teardown_class(cls): method test_pyrate_bperp_matches_gamma_bperp (line 124) | def test_pyrate_bperp_matches_gamma_bperp(self, point): method test_avg_bperp_calculation (line 136) | def test_avg_bperp_calculation(self): class TestDEMErrorFilesReusedFromDisc (line 145) | class TestDEMErrorFilesReusedFromDisc: method setup_class (line 148) | def setup_class(cls): method teardown_class (line 157) | def teardown_class(cls): method test_dem_error_used_from_disc_on_rerun (line 160) | def test_dem_error_used_from_disc_on_rerun(self): method __run_once (line 168) | def __run_once(self): class TestDEMErrorResults (line 179) | class TestDEMErrorResults: method setup_class (line 182) | def setup_class(cls): method teardown_class (line 193) | def teardown_class(cls): method test_calc_dem_errors (line 196) | def test_calc_dem_errors(self): FILE: tests/test_gamma.py class TestGammaCommandLineTests (line 51) | class TestGammaCommandLineTests: method setup_method (line 53) | def setup_method(self): method teardown_method (line 63) | def teardown_method(self): method makeInputFiles (line 70) | def makeInputFiles(self, data): class TestGammaToGeoTiff (line 83) | class TestGammaToGeoTiff: method setup_method (line 87) | def setup_method(cls): method teardown_method (line 99) | def teardown_method(self): method test_to_geotiff_dem (line 103) | def test_to_geotiff_dem(self): method test_to_geotiff_ifg (line 122) | def test_to_geotiff_ifg(self): method test_to_geotiff_wrong_input_data (line 149) | def test_to_geotiff_wrong_input_data(self): method compare_rasters (line 156) | def compare_rasters(self, ds, exp_ds): method test_bad_projection (line 170) | def test_bad_projection(self): class TestGammaHeaderListRaiseException (line 178) | class TestGammaHeaderListRaiseException: method setup_method (line 181) | def setup_method(self): method test_exception (line 185) | def test_exception(self): class TestGammaHeaderParsingTests (line 190) | class TestGammaHeaderParsingTests: method test_parse_gamma_epoch_header (line 193) | def test_parse_gamma_epoch_header(self): method test_parse_gamma_dem_header (line 209) | def test_parse_gamma_dem_header(self): method assert_equal (line 221) | def assert_equal(arg1, arg2): class TestHeaderCombination (line 251) | class TestHeaderCombination: method setup_method (line 254) | def setup_method(self): method assert_equal (line 262) | def assert_equal(arg1, arg2): method test_combine_headers (line 265) | def test_combine_headers(self): method test_fail_non_dict_header (line 283) | def test_fail_non_dict_header(self): method test_fail_mismatching_wavelength (line 289) | def test_fail_mismatching_wavelength(self): method test_fail_mismatching_incidence (line 292) | def test_fail_mismatching_incidence(self): method test_fail_same_date (line 295) | def test_fail_same_date(self): method test_fail_bad_date_order (line 298) | def test_fail_bad_date_order(self): method assertRaises (line 302) | def assertRaises(self, func, * args): function parallel_ifgs (line 312) | def parallel_ifgs(gamma_conf): function series_ifgs (line 336) | def series_ifgs(gamma_conf): function test_equality (line 361) | def test_equality(series_ifgs, parallel_ifgs): function test_meta_data_exists (line 366) | def test_meta_data_exists(series_ifgs, parallel_ifgs): class TestGammaBaselineRead (line 378) | class TestGammaBaselineRead: method setup_method (line 381) | def setup_method(self): method test_prec_baseline_read (line 387) | def test_prec_baseline_read(self): method test_init_baseline_read (line 408) | def test_init_baseline_read(self): FILE: tests/test_gamma_vs_roipac.py function test_files_are_same (line 38) | def test_files_are_same(tempdir, get_config): function __workflow (line 62) | def __workflow(params, tdir): function __assert_same_files_produced (line 83) | def __assert_same_files_produced(dir1, dir2, ext, num_files): FILE: tests/test_gdal_python.py class TestResample (line 38) | class TestResample(common.UnitTestAdaptation): method test_small_data_resampling (line 40) | def test_small_data_resampling(self): method check_same_resampled_output (line 52) | def check_same_resampled_output(self, extents, extents_str, res, method test_none_resolution_output (line 84) | def test_none_resolution_output(self): method test_output_file_written (line 93) | def test_output_file_written(self): method test_resampled_tif_has_metadata (line 107) | def test_resampled_tif_has_metadata(self): class TestBasicReampleTests (line 127) | class TestBasicReampleTests(common.UnitTestAdaptation): method test_reproject_with_no_data (line 129) | def test_reproject_with_no_data(self): method test_reproject_with_no_data_2 (line 148) | def test_reproject_with_no_data_2(self): method test_reproject_with_no_data_3 (line 168) | def test_reproject_with_no_data_3(self): method test_reproject_with_no_data_4 (line 191) | def test_reproject_with_no_data_4(self): method test_reproject_with_no_data_5 (line 215) | def test_reproject_with_no_data_5(self): method test_reproject_average_resampling (line 241) | def test_reproject_average_resampling(self): method test_reproject_average_resampling_with_2bands (line 268) | def test_reproject_average_resampling_with_2bands(self): class TestMEMVsGTiff (line 309) | class TestMEMVsGTiff(common.UnitTestAdaptation): method check (line 312) | def check(driver_type): method test_mem (line 358) | def test_mem(self): method test_gtiff (line 361) | def test_gtiff(self): function test_coherence_files_not_converted (line 365) | def test_coherence_files_not_converted(): function test_small_data_coherence (line 439) | def test_small_data_coherence(gamma_or_mexicoa_conf): FILE: tests/test_geometry.py function get_lonlat_coords_slow (line 18) | def get_lonlat_coords_slow(ifg: Ifg) -> Tuple[np.ndarray, np.ndarray]: function test_get_lonlat_coords_vectorised (line 39) | def test_get_lonlat_coords_vectorised(dem): function point_azimuth (line 47) | def point_azimuth(request): function point_incidence (line 52) | def point_incidence(request): class TestPyRateAngleFiles (line 56) | class TestPyRateAngleFiles: method setup_class (line 59) | def setup_class(cls): method teardown_class (line 67) | def teardown_class(cls): method get_pyrate_angle (line 85) | def get_pyrate_angle(self, x0, y0, tif_file): method test_pyrate_azimuth_matches_gamma_azimuth (line 96) | def test_pyrate_azimuth_matches_gamma_azimuth(self, point_azimuth): method test_pyrate_incidence_matches_gamma_incidence (line 114) | def test_pyrate_incidence_matches_gamma_incidence(self, point_incidence): method test_azimuth_angle_calculation (line 133) | def test_azimuth_angle_calculation(self): FILE: tests/test_merge.py function los_projection (line 40) | def los_projection(request): function signal_polarity (line 45) | def signal_polarity(request): function test_los_conversion_divisors (line 49) | def test_los_conversion_divisors(): class TestLOSConversion (line 74) | class TestLOSConversion: method setup_class (line 76) | def setup_class(cls): method teardown_class (line 93) | def teardown_class(cls): method test_los_conversion_comparison (line 96) | def test_los_conversion_comparison(self): method run_with_new_params (line 157) | def run_with_new_params(self, k_dir, params): method test_file_creation (line 168) | def test_file_creation(self, los_projection): method __check_md (line 194) | def __check_md(los_projection, output_image_path): FILE: tests/test_mpi.py function test_vcm_legacy_vs_mpi (line 40) | def test_vcm_legacy_vs_mpi(mpisync, tempdir, roipac_or_gamma_conf): FILE: tests/test_mpi_vs_multiprocess_vs_single_process.py function parallel (line 44) | def parallel(request): function local_crop (line 49) | def local_crop(request): function modified_config (line 54) | def modified_config(tempdir, get_lks, get_crop, orbfit_lks, orbfit_metho... function test_pipeline_parallel_vs_mpi (line 92) | def test_pipeline_parallel_vs_mpi(modified_config, gamma_or_mexicoa_conf... function __check_equality_of_phase_closure_outputs (line 237) | def __check_equality_of_phase_closure_outputs(mpi_conf, sr_conf): function coh_mask (line 265) | def coh_mask(request): function modified_config_short (line 270) | def modified_config_short(tempdir, local_crop, get_lks, coh_mask): function create_mpi_files (line 311) | def create_mpi_files(): function test_stack_and_ts_mpi_vs_parallel_vs_serial (line 336) | def test_stack_and_ts_mpi_vs_parallel_vs_serial(modified_config_short, g... FILE: tests/test_mst.py class TestMST (line 34) | class TestMST(UnitTestAdaptation): method setup_method (line 37) | def setup_method(self): method test_mst_matrix_as_array (line 40) | def test_mst_matrix_as_array(self): method test_mst_matrix_as_ifgs (line 68) | def test_mst_matrix_as_ifgs(self): method test_partial_nan_pixel_stack (line 84) | def test_partial_nan_pixel_stack(self): method test_all_nan_pixel_stack (line 103) | def test_all_nan_pixel_stack(self): class TestDefaultMST (line 119) | class TestDefaultMST(UnitTestAdaptation): method test_default_mst (line 121) | def test_default_mst(self): class TestNetworkxMSTTreeCheck (line 142) | class TestNetworkxMSTTreeCheck(UnitTestAdaptation): method setup_class (line 145) | def setup_class(cls): method test_assert_is_not_tree (line 148) | def test_assert_is_not_tree(self): method test_small_data_tree (line 155) | def test_small_data_tree(self): method test_assert_is_tree (line 158) | def test_assert_is_tree(self): method test_assert_two_trees_overlapping (line 166) | def test_assert_two_trees_overlapping(self): method test_assert_two_trees_non_overlapping (line 174) | def test_assert_two_trees_non_overlapping(self): class TestIfgPart (line 182) | class TestIfgPart(UnitTestAdaptation): method setup_method (line 184) | def setup_method(self): method test_ifg_part_shape_and_slice (line 188) | def test_ifg_part_shape_and_slice(self): method test_mst_multiprocessing_serial (line 197) | def test_mst_multiprocessing_serial(self): method test_mst_multiprocessing (line 203) | def test_mst_multiprocessing(self): class TestMSTFilesReusedFromDisc (line 210) | class TestMSTFilesReusedFromDisc: method setup_class (line 213) | def setup_class(cls): method teardown_class (line 224) | def teardown_class(cls): method test_mst_used_from_disc_on_rerun (line 227) | def test_mst_used_from_disc_on_rerun(self): method __run_once (line 235) | def __run_once(self): FILE: tests/test_orbital.py class TestSingleDesignMatrixTests (line 70) | class TestSingleDesignMatrixTests: method setup_class (line 78) | def setup_class(cls): method test_create_planar_dm (line 92) | def test_create_planar_dm(self): method test_create_planar_dm_offsets (line 98) | def test_create_planar_dm_offsets(self): method test_create_quadratic_dm (line 106) | def test_create_quadratic_dm(self): method test_create_quadratic_dm_offsets (line 112) | def test_create_quadratic_dm_offsets(self): method test_create_partcubic_dm (line 120) | def test_create_partcubic_dm(self): method test_create_partcubic_dm_offsets (line 126) | def test_create_partcubic_dm_offsets(self): method test_create_planar_dm_network (line 134) | def test_create_planar_dm_network(self): method test_create_quadratic_dm_network (line 143) | def test_create_quadratic_dm_network(self): method test_create_partcubic_dm_network (line 152) | def test_create_partcubic_dm_network(self): class TestIndependentCorrection (line 162) | class TestIndependentCorrection: method setup_class (line 166) | def setup_class(cls): method alt_orbital_correction (line 175) | def alt_orbital_correction(self, ifg, deg, offset, scale): method check_correction (line 198) | def check_correction(self, degree, method, offset, decimal=2): method check_results (line 226) | def check_results(self, ifgs, corrections): method test_independent_correction_planar (line 238) | def test_independent_correction_planar(self): method test_independent_correction_planar_offsets (line 241) | def test_independent_correction_planar_offsets(self): method test_independent_correction_quadratic (line 244) | def test_independent_correction_quadratic(self): method test_independent_correction_quadratic_offsets (line 247) | def test_independent_correction_quadratic_offsets(self): method test_independent_correction_partcubic (line 250) | def test_independent_correction_partcubic(self): method test_independent_correction_partcubic_offsets (line 253) | def test_independent_correction_partcubic_offsets(self): class TestError (line 257) | class TestError: method setup_method (line 261) | def setup_method(cls): method test_invalid_ifgs_arg (line 266) | def test_invalid_ifgs_arg(self): method test_invalid_degree_arg (line 271) | def test_invalid_degree_arg(self): method test_invalid_method (line 280) | def test_invalid_method(self): method test_different_looks_raise (line 287) | def test_different_looks_raise(self): method test_looks_as_int (line 296) | def test_looks_as_int(self): class TestNetworkDesignMatrixTests (line 307) | class TestNetworkDesignMatrixTests: method setup_class (line 310) | def setup_class(self): method test_planar_network_dm (line 323) | def test_planar_network_dm(self): method test_planar_network_dm_offset (line 331) | def test_planar_network_dm_offset(self): method test_quadratic_network_dm (line 340) | def test_quadratic_network_dm(self): method test_quadratic_network_dm_offset (line 348) | def test_quadratic_network_dm_offset(self): method test_partcubic_network_dm (line 357) | def test_partcubic_network_dm(self): method test_partcubic_network_dm_offset (line 365) | def test_partcubic_network_dm_offset(self): method check_equality (line 374) | def check_equality(self, ncoef, dm, ifgs, offset): function network_correction (line 402) | def network_correction(ifgs, deg, intercept, ml_ifgs=None, tol=1e-6): function _expand_corrections (line 433) | def _expand_corrections(ifgs, dm, params, ncoef, offset): class TestNetworkCorrectionTests (line 463) | class TestNetworkCorrectionTests: method setup_class (line 466) | def setup_class(cls): method test_offset_inversion (line 487) | def test_offset_inversion(self): method test_network_correction_planar (line 523) | def test_network_correction_planar(self): method test_network_correction_planar_offset (line 536) | def test_network_correction_planar_offset(self): method test_network_correction_quadratic (line 541) | def test_network_correction_quadratic(self): method test_network_correction_quadratic_offset (line 548) | def test_network_correction_quadratic_offset(self): method test_network_correction_partcubic (line 553) | def test_network_correction_partcubic(self): method test_network_correction_partcubic_offset (line 559) | def test_network_correction_partcubic_offset(self): method verify_corrections (line 565) | def verify_corrections(ifgs, exp, deg, intercept): class TestNetworkCorrectionTestsMultilooking (line 584) | class TestNetworkCorrectionTestsMultilooking: method setup_class (line 588) | def setup_class(cls): method test_mlooked_network_correction_planar (line 607) | def test_mlooked_network_correction_planar(self): method test_mlooked_network_correction_planar_offset (line 613) | def test_mlooked_network_correction_planar_offset(self): method test_mlooked_network_correction_quadratic (line 618) | def test_mlooked_network_correction_quadratic(self): method test_mlooked_network_correction_quadratic_offset (line 624) | def test_mlooked_network_correction_quadratic_offset(self): method test_mlooked_network_correction_partcubic (line 629) | def test_mlooked_network_correction_partcubic(self): method test_mlooked_network_correction_partcubic_offset (line 635) | def test_mlooked_network_correction_partcubic_offset(self): method verify_corrections (line 640) | def verify_corrections(self, ifgs, exp, deg, intercept): function unittest_dm (line 659) | def unittest_dm(ifg, method, degree, offset=False, scale=100.0): function get_date_ids (line 706) | def get_date_ids(ifgs): function _add_nodata (line 717) | def _add_nodata(ifgs): class TestLegacyComparisonTestsOrbfitMethod1 (line 726) | class TestLegacyComparisonTestsOrbfitMethod1: method setup_class (line 740) | def setup_class(cls, roipac_params): method teardown_class (line 757) | def teardown_class(cls): method test_orbital_correction_legacy_equality (line 762) | def test_orbital_correction_legacy_equality(self): method test_orbfit_treats_process_inputs_as_read_only (line 806) | def test_orbfit_treats_process_inputs_as_read_only(self): class TestLegacyComparisonTestsOrbfitMethod2 (line 810) | class TestLegacyComparisonTestsOrbfitMethod2: method setup_class (line 823) | def setup_class(cls): method teardown_class (line 849) | def teardown_class(cls): method test_orbital_correction_legacy_equality_orbfit_method_2 (line 852) | def test_orbital_correction_legacy_equality_orbfit_method_2(self): method test_orbital_error_method2_dummy (line 879) | def test_orbital_error_method2_dummy(self): class TestOrbErrorCorrectionsOnDiscReused (line 914) | class TestOrbErrorCorrectionsOnDiscReused: method setup_class (line 917) | def setup_class(cls): method teardown_class (line 928) | def teardown_class(cls): method test_orb_error (line 931) | def test_orb_error(self, orbfit_method, orbfit_degrees): class TestOrbErrorCorrectionsReappliedDoesNotChangePhaseData (line 967) | class TestOrbErrorCorrectionsReappliedDoesNotChangePhaseData: method setup_method (line 970) | def setup_method(cls): method teardown_method (line 983) | def teardown_method(cls): method test_orb_error_multiple_run_does_not_change_phase_data (line 986) | def test_orb_error_multiple_run_does_not_change_phase_data(self, orbfi... function orbfit_looks (line 1011) | def orbfit_looks(request): class TestOrbfitIndependentMethodWithMultilooking (line 1017) | class TestOrbfitIndependentMethodWithMultilooking: method setup_class (line 1020) | def setup_class(cls): method teardown_class (line 1031) | def teardown_class(cls): method test_independent_method_works_with_multilooking (line 1034) | def test_independent_method_works_with_multilooking(self, orbfit_looks... class SyntheticIfg (line 1056) | class SyntheticIfg: method __init__ (line 1063) | def __init__(self, orbfit_degrees): method add_geographic_data (line 1080) | def add_geographic_data(self): method phase_data (line 1093) | def phase_data(self): method open (line 1101) | def open(self): function mlk_ifg (line 1132) | def mlk_ifg(ifg, nlooks): function orb_lks (line 1155) | def orb_lks(request): function test_single_synthetic_ifg_independent_method (line 1159) | def test_single_synthetic_ifg_independent_method(orbfit_degrees, orb_lks... function test_set_synthetic_ifgs_independent_method (line 1190) | def test_set_synthetic_ifgs_independent_method(mexico_cropa_params, orbf... class FakeIfg (line 1205) | class FakeIfg: method __init__ (line 1206) | def __init__(self, orbfit_deg, model_params, date_first, date_second): method add_geographic_data (line 1223) | def add_geographic_data(self): method phase_data (line 1236) | def phase_data(self): method open (line 1244) | def open(self): class SyntheticNetwork (line 1264) | class SyntheticNetwork: method __init__ (line 1271) | def __init__(self, orbfit_deg, epochs, network, model_params): function test_synthetic_network_correction (line 1290) | def test_synthetic_network_correction(orbfit_degrees, orb_lks): function test_orbital_inversion (line 1355) | def test_orbital_inversion(): FILE: tests/test_prepifg.py function test_prepifg_treats_inputs_and_outputs_read_only (line 61) | def test_prepifg_treats_inputs_and_outputs_read_only(gamma_conf, tempdir... function test_prepifg_file_types (line 93) | def test_prepifg_file_types(tempdir, gamma_conf, coh_mask): function diff_exts_ifgs (line 175) | def diff_exts_ifgs(): function same_exts_ifgs (line 188) | def same_exts_ifgs(): function extents_from_params (line 193) | def extents_from_params(params): function test_extents_from_params (line 200) | def test_extents_from_params(): class TestPrepifgOutput (line 209) | class TestPrepifgOutput(UnitTestAdaptation): method assert_geotransform_equal (line 213) | def assert_geotransform_equal(files): method setup_class (line 231) | def setup_class(cls): method test_mlooked_paths (line 256) | def test_mlooked_paths(): method test_extents_from_params (line 260) | def test_extents_from_params(): method teardown_class (line 264) | def teardown_class(cls): method _custom_ext_latlons (line 272) | def _custom_ext_latlons(self): method _custom_extents_tuple (line 278) | def _custom_extents_tuple(self): method assert_projection_equal (line 281) | def assert_projection_equal(self, files): method test_multilooked_projection_same_as_geotiff (line 298) | def test_multilooked_projection_same_as_geotiff(self): method test_default_max_extents (line 319) | def test_default_max_extents(self): method test_min_extents (line 343) | def test_min_extents(self): method test_custom_extents (line 363) | def test_custom_extents(self): method test_exception_without_all_4_crop_parameters (line 384) | def test_exception_without_all_4_crop_parameters(self): method test_custom_extents_misalignment (line 400) | def test_custom_extents_misalignment(self): method test_nodata (line 417) | def test_nodata(self): method test_nans (line 431) | def test_nans(self): method test_multilook (line 450) | def test_multilook(self): method test_output_datatype (line 503) | def test_output_datatype(self): method test_invalid_looks (line 530) | def test_invalid_looks(self): class TestThresholdTests (line 541) | class TestThresholdTests(UnitTestAdaptation): method test_nan_threshold_inputs (line 544) | def test_nan_threshold_inputs(self): method test_nan_threshold (line 550) | def test_nan_threshold(): method test_nan_threshold_alt (line 568) | def test_nan_threshold_alt(): class TestSameSizeTests (line 580) | class TestSameSizeTests(UnitTestAdaptation): method setup_class (line 584) | def setup_class(cls): method test_already_same_size (line 611) | def test_already_same_size(self): method test_already_same_size_mismatch (line 619) | def test_already_same_size_mismatch(self): method test_same_size_multilooking (line 629) | def test_same_size_multilooking(self): function mlooked_path (line 656) | def mlooked_path(path, params, input_type): function test_mlooked_path (line 661) | def test_mlooked_path(): class TestLocalMultilookTests (line 691) | class TestLocalMultilookTests: method test_multilooking_thresh (line 695) | def test_multilooking_thresh(): function multilooking (line 708) | def multilooking(src, xscale, yscale, thresh=0): class TestLegacyEqualityTestRoipacSmallTestData (line 743) | class TestLegacyEqualityTestRoipacSmallTestData(UnitTestAdaptation): method setup_class (line 748) | def setup_class(cls): method teardown_class (line 763) | def teardown_class(cls): method test_legacy_prepifg_equality_array (line 769) | def test_legacy_prepifg_equality_array(self): method test_legacy_prepifg_and_convert_phase (line 791) | def test_legacy_prepifg_and_convert_phase(self): class TestOneIncidenceOrElevationMap (line 831) | class TestOneIncidenceOrElevationMap(UnitTestAdaptation): method setup_class (line 834) | def setup_class(cls): method teardown_class (line 841) | def teardown_class(cls): method make_input_files (line 846) | def make_input_files(self, inc='', ele=''): method common_check (line 870) | def common_check(self, ele, inc): function prepare_ifgs (line 895) | def prepare_ifgs(raster_data_paths, crop_opt, xlooks, ylooks, headers, p... function test_coh_stats_equality (line 939) | def test_coh_stats_equality(mexico_cropa_params): FILE: tests/test_prepifg_system_vs_python.py function local_crop (line 37) | def local_crop(request): function modified_config_short (line 42) | def modified_config_short(tempdir, local_crop, get_lks, coh_mask): function create_mpi_files (line 81) | def create_mpi_files(modified_config_short): function modified_config_largetifs (line 96) | def modified_config_largetifs(tempdir, local_crop, get_lks, coh_mask): function test_prepifg_largetifs_vs_python (line 136) | def test_prepifg_largetifs_vs_python(modified_config_largetifs, gamma_co... FILE: tests/test_pyrate.py function symlink_ms (line 44) | def symlink_ms(source, link_name): function test_transform_params (line 60) | def test_transform_params(): function test_warp_required (line 65) | def test_warp_required(): function test_original_ifg_paths (line 76) | def test_original_ifg_paths(): function dest_ifg_paths (line 84) | def dest_ifg_paths(ifg_paths, outdir): function test_dest_ifg_paths (line 93) | def test_dest_ifg_paths(): function get_ifgs (line 102) | def get_ifgs(out_dir, _open=True): class TestPyRate (line 113) | class TestPyRate: method setup_class (line 118) | def setup_class(cls): method teardown_class (line 163) | def teardown_class(cls): method key_check (line 167) | def key_check(self, ifg, key, value): method test_basic_outputs (line 173) | def test_basic_outputs(self): method test_phase_conversion (line 183) | def test_phase_conversion(self): method test_orbital_correction (line 191) | def test_orbital_correction(self): class TestParallelPyRate (line 201) | class TestParallelPyRate: method setup_class (line 207) | def setup_class(cls): method teardown_class (line 282) | def teardown_class(cls): method test_orbital_correction (line 285) | def test_orbital_correction(self): method key_check (line 294) | def key_check(self, ifg, key, value): method test_phase_conversion (line 300) | def test_phase_conversion(self): method test_mst_equal (line 311) | def test_mst_equal(self): method test_refpixel_equal (line 314) | def test_refpixel_equal(self): method test_maxvar_equal (line 317) | def test_maxvar_equal(self): method test_vcmt_equal (line 320) | def test_vcmt_equal(self): method test_stack_rate_equal (line 323) | def test_stack_rate_equal(self): class TestPrePrepareIfgs (line 331) | class TestPrePrepareIfgs: method setup_class (line 334) | def setup_class(cls): method teardown_class (line 371) | def teardown_class(cls): method test_small_data_prep_phase_equality (line 375) | def test_small_data_prep_phase_equality(self): method test_small_data_prep_metadata_equality (line 383) | def test_small_data_prep_metadata_equality(self): FILE: tests/test_ref_phs_est.py class TestRefPhsTests (line 77) | class TestRefPhsTests: method setup_method (line 80) | def setup_method(self): method teardown_method (line 107) | def teardown_method(self): method test_need_at_least_two_ifgs (line 110) | def test_need_at_least_two_ifgs(self): method test_metadata (line 119) | def test_metadata(self): method test_mixed_metadata_raises (line 130) | def test_mixed_metadata_raises(self): class TestRefPhsEstimationLegacyTestMethod1Serial (line 154) | class TestRefPhsEstimationLegacyTestMethod1Serial: method setup_class (line 160) | def setup_class(cls): method teardown_class (line 199) | def teardown_class(cls): method test_estimate_reference_phase (line 203) | def test_estimate_reference_phase(self): method test_ifgs_after_ref_phs_est (line 206) | def test_ifgs_after_ref_phs_est(self): class TestRefPhsEstimationLegacyTestMethod1Parallel (line 238) | class TestRefPhsEstimationLegacyTestMethod1Parallel: method setup_class (line 243) | def setup_class(cls): method teardown_class (line 283) | def teardown_class(cls): method test_estimate_reference_phase (line 287) | def test_estimate_reference_phase(self): method test_ifgs_after_ref_phs_est (line 290) | def test_ifgs_after_ref_phs_est(self): class TestRefPhsEstimationLegacyTestMethod2Serial (line 323) | class TestRefPhsEstimationLegacyTestMethod2Serial: method setup_class (line 329) | def setup_class(cls): method teardown_class (line 369) | def teardown_class(cls): method test_ifgs_after_ref_phs_est (line 372) | def test_ifgs_after_ref_phs_est(self): method test_estimate_reference_phase_method2 (line 404) | def test_estimate_reference_phase_method2(self): class TestRefPhsEstimationLegacyTestMethod2Parallel (line 408) | class TestRefPhsEstimationLegacyTestMethod2Parallel: method setup_class (line 416) | def setup_class(cls): method teardown_class (line 455) | def teardown_class(cls): method test_ifgs_after_ref_phs_est (line 458) | def test_ifgs_after_ref_phs_est(self): method test_estimate_reference_phase_method2 (line 489) | def test_estimate_reference_phase_method2(self): class TestRefPhsEstReusedFromDisc (line 493) | class TestRefPhsEstReusedFromDisc: method setup_class (line 496) | def setup_class(cls): method teardown_class (line 505) | def teardown_class(cls): method test_ref_phase_used_from_disc_on_rerun (line 508) | def test_ref_phase_used_from_disc_on_rerun(self, ref_est_method): method __run_once (line 530) | def __run_once(self): FILE: tests/test_refpixel.py class TestReferencePixelInputTests (line 54) | class TestReferencePixelInputTests: method setup_method (line 60) | def setup_method(cls): method test_missing_chipsize (line 69) | def test_missing_chipsize(self): method test_chipsize_valid (line 74) | def test_chipsize_valid(self): method test_minimum_fraction_missing (line 80) | def test_minimum_fraction_missing(self): method test_minimum_fraction_threshold (line 85) | def test_minimum_fraction_threshold(self): method test_search_windows (line 91) | def test_search_windows(self): method test_missing_search_windows (line 104) | def test_missing_search_windows(self): class TestReferencePixelTests (line 116) | class TestReferencePixelTests: method setup_method (line 122) | def setup_method(cls): method test_all_below_threshold_exception (line 131) | def test_all_below_threshold_exception(self): method test_refnxy_step_1 (line 149) | def test_refnxy_step_1(self): method test_large_window (line 165) | def test_large_window(self): method test_step (line 177) | def test_step(self): method test_ref_pixel (line 205) | def test_ref_pixel(self): function _expected_ref_pixel (line 224) | def _expected_ref_pixel(ifgs, cs): class TestLegacyEqualityTest (line 244) | class TestLegacyEqualityTest: method setup_method (line 247) | def setup_method(cls): method teardown_method (line 271) | def teardown_method(cls): method test_small_test_data_ref_pixel_lat_lon_provided (line 274) | def test_small_test_data_ref_pixel_lat_lon_provided(self): method test_small_test_data_ref_pixel (line 281) | def test_small_test_data_ref_pixel(self): method test_small_test_data_ref_chipsize_15 (line 287) | def test_small_test_data_ref_chipsize_15(self): method test_metadata (line 294) | def test_metadata(self): method test_small_test_data_ref_all_1 (line 307) | def test_small_test_data_ref_all_1(self): class TestLegacyEqualityTestMultiprocessParallel (line 316) | class TestLegacyEqualityTestMultiprocessParallel: method setup_method (line 319) | def setup_method(cls): method teardown_method (line 343) | def teardown_method(cls): method test_small_test_data_ref_pixel (line 346) | def test_small_test_data_ref_pixel(self): method test_more_small_test_data_ref_pixel (line 352) | def test_more_small_test_data_ref_pixel(self): method test_small_test_data_ref_pixel_all_2 (line 359) | def test_small_test_data_ref_pixel_all_2(self): method test_small_test_data_ref_chipsize_15 (line 366) | def test_small_test_data_ref_chipsize_15(self): method test_small_test_data_ref_all_1 (line 373) | def test_small_test_data_ref_all_1(self): function test_error_msg_refpixel_out_of_bounds (line 386) | def test_error_msg_refpixel_out_of_bounds(tempdir, gamma_conf): function test_gamma_ref_pixel_search_vs_lat_lon (line 397) | def test_gamma_ref_pixel_search_vs_lat_lon(tempdir, gamma_conf): function _get_mlooked_files (line 405) | def _get_mlooked_files(gamma_conf, tdir, refx, refy): class TestRefPixelReuseLoadsSameFileAndPixels (line 422) | class TestRefPixelReuseLoadsSameFileAndPixels: method setup_method (line 425) | def setup_method(cls): method teardown_method (line 436) | def teardown_method(cls): method test_ref_pixel_multiple_runs_reuse_from_disc (line 439) | def test_ref_pixel_multiple_runs_reuse_from_disc(self, ref_pixel): function x_y_pixel (line 467) | def x_y_pixel(): function test_convert_pixel_value_to_geographic_coordinate (line 477) | def test_convert_pixel_value_to_geographic_coordinate(x_y_pixel): function dem_transform (line 488) | def dem_transform(): function test_convert_geographic_coordinate_to_pixel_value (line 495) | def test_convert_geographic_coordinate_to_pixel_value(x_y_pixel): FILE: tests/test_roipac.py class TestRoipacToGeoTiff (line 47) | class TestRoipacToGeoTiff(UnitTestAdaptation): method setup_class (line 51) | def setup_class(cls): method teardown_class (line 56) | def teardown_class(cls): method test_to_geotiff_dem (line 59) | def test_to_geotiff_dem(self): method test_to_geotiff_ifg (line 73) | def test_to_geotiff_ifg(self): method test_to_geotiff_wrong_input_data (line 106) | def test_to_geotiff_wrong_input_data(self): method test_bad_projection (line 118) | def test_bad_projection(self): method compare_rasters (line 126) | def compare_rasters(self, ds, exp_ds): class TestDateParsing (line 141) | class TestDateParsing(UnitTestAdaptation): method test_parse_short_date_pre2000 (line 143) | def test_parse_short_date_pre2000(self): method test_parse_short_date_post2000 (line 147) | def test_parse_short_date_post2000(self): method test_parse_date_range (line 151) | def test_parse_date_range(self): class TestHeaderParsingTests (line 157) | class TestHeaderParsingTests(UnitTestAdaptation): method test_parse_short_roipac_header (line 161) | def test_parse_short_roipac_header(self): method test_parse_short_header_has_timespan (line 171) | def test_parse_short_header_has_timespan(self): method test_parse_full_roipac_header (line 183) | def test_parse_full_roipac_header(self): method test_read_full_roipac_header2 (line 193) | def test_read_full_roipac_header2(self): method test_xylast (line 198) | def test_xylast(self): FILE: tests/test_shared.py class TestIfgTests (line 56) | class TestIfgTests: method setup_class (line 59) | def setup_class(cls): method test_headers_as_attr (line 64) | def test_headers_as_attr(self): method test_convert_to_nans (line 69) | def test_convert_to_nans(self): method test_xylast (line 73) | def test_xylast(self): method test_num_cells (line 78) | def test_num_cells(self): method test_shape (line 85) | def test_shape(self): method test_nan_count (line 88) | def test_nan_count(self): method test_phase_band (line 99) | def test_phase_band(self): method test_nan_fraction (line 103) | def test_nan_fraction(self): method test_xy_size (line 121) | def test_xy_size(self): method test_centre_latlong (line 134) | def test_centre_latlong(self): method test_centre_cell (line 142) | def test_centre_cell(self): method test_time_span (line 146) | def test_time_span(self): method test_wavelength (line 149) | def test_wavelength(self): class TestIfgIOTests (line 153) | class TestIfgIOTests: method setup_method (line 155) | def setup_method(self): method test_open (line 159) | def test_open(self): method test_open_ifg_from_dataset (line 171) | def test_open_ifg_from_dataset(self): method test_write (line 182) | def test_write(self): method test_write_fails_on_readonly (line 206) | def test_write_fails_on_readonly(self): method test_phase_band_unopened_ifg (line 215) | def test_phase_band_unopened_ifg(self): method test_nan_fraction_unopened (line 222) | def test_nan_fraction_unopened(self): method test_phase_data_properties (line 231) | def test_phase_data_properties(self): class TestDEMTests (line 292) | class TestDEMTests: method setup_method (line 295) | def setup_method(self): method test_create_raster (line 298) | def test_create_raster(self): method test_headers_as_attr (line 302) | def test_headers_as_attr(self): method test_is_dem (line 310) | def test_is_dem(self): method test_open (line 314) | def test_open(self): method test_band_read_with_open_raster (line 329) | def test_band_read_with_open_raster(self): class TestWriteUnw (line 334) | class TestWriteUnw: method setup_class (line 338) | def setup_class(cls, gamma_params): method teardown_class (line 368) | def teardown_class(cls): method test_unw_contains_same_data_as_numpy_array (line 371) | def test_unw_contains_same_data_as_numpy_array(self): method test_multilooked_tiffs_converted_to_unw_are_same (line 419) | def test_multilooked_tiffs_converted_to_unw_are_same(self): method test_roipac_raises (line 452) | def test_roipac_raises(self): class TestGeodesy (line 464) | class TestGeodesy: method test_utm_zone (line 466) | def test_utm_zone(self): method test_cell_size_polar_region (line 483) | def test_cell_size_polar_region(self): method test_cell_size_calc (line 489) | def test_cell_size_calc(self): function parallel (line 510) | def parallel(request): function get_random_string (line 514) | def get_random_string(length): function _data_types (line 520) | def _data_types(): function data_type (line 532) | def data_type(request): function test_tiles_split (line 536) | def test_tiles_split(parallel, data_type): function test_convert_to_radians (line 554) | def test_convert_to_radians(): function test_convert_to_radians_ifg (line 563) | def test_convert_to_radians_ifg(ten_geotiffs): FILE: tests/test_stackrate.py function default_params (line 41) | def default_params(): class SinglePixelIfg (line 45) | class SinglePixelIfg(object): method __init__ (line 47) | def __init__(self, timespan, phase): class TestStackRatePixel (line 52) | class TestStackRatePixel: method setup_method (line 58) | def setup_method(self): method test_stack_rate_pixel (line 66) | def test_stack_rate_pixel(self): class TestMaskRate (line 78) | class TestMaskRate: method setup_method (line 83) | def setup_method(self): method test_mask_rate_maxsig1 (line 87) | def test_mask_rate_maxsig1(self): method test_mask_rate_maxsig2 (line 93) | def test_mask_rate_maxsig2(self): method test_mask_rate_maxsig3 (line 99) | def test_mask_rate_maxsig3(self): class TestLegacyEquality (line 106) | class TestLegacyEquality: method setup_class (line 112) | def setup_class(cls): method teardown_class (line 177) | def teardown_class(cls): method test_stack_rate_full_parallel (line 180) | def test_stack_rate_full_parallel(self): method test_stackrate_error_parallel (line 186) | def test_stackrate_error_parallel(self): method test_stackrate_samples_parallel (line 192) | def test_stackrate_samples_parallel(self): method test_stack_rate (line 198) | def test_stack_rate(self): method test_stackrate_error (line 204) | def test_stackrate_error(self): method test_stackrate_samples (line 210) | def test_stackrate_samples(self): FILE: tests/test_system.py function test_workflow (line 35) | def test_workflow(system_conf): function test_single_workflow (line 53) | def test_single_workflow(gamma_or_mexicoa_conf): FILE: tests/test_timeseries.py function default_params (line 41) | def default_params(): class SinglePixelIfg (line 52) | class SinglePixelIfg(object): method __init__ (line 57) | def __init__(self, first, second, phase, nan_fraction): method convert_to_nans (line 65) | def convert_to_nans(self, val=0): class TestTimeSeries (line 74) | class TestTimeSeries: method setup_class (line 78) | def setup_class(cls): method test_time_series_unit (line 87) | def test_time_series_unit(self): class TestLegacyTimeSeriesEquality (line 113) | class TestLegacyTimeSeriesEquality: method setup_class (line 116) | def setup_class(cls): method teardown_class (line 179) | def teardown_class(cls): method test_time_series_equality_parallel_by_rows (line 182) | def test_time_series_equality_parallel_by_rows(self): method test_time_series_equality_serial_by_the_pixel (line 196) | def test_time_series_equality_serial_by_the_pixel(self): method assertEqual (line 210) | def assertEqual(val1, val2): class TestLegacyTimeSeriesEqualityMethod2Interp0 (line 214) | class TestLegacyTimeSeriesEqualityMethod2Interp0: method setup_class (line 217) | def setup_class(cls): method teardown_class (line 284) | def teardown_class(cls): method test_time_series_equality_parallel_by_rows (line 287) | def test_time_series_equality_parallel_by_rows(self): method test_time_series_equality_serial_by_the_pixel (line 295) | def test_time_series_equality_serial_by_the_pixel(self): class TestLinearRatePixel (line 304) | class TestLinearRatePixel: method test_linear_rate_pixel_clean (line 310) | def test_linear_rate_pixel_clean(self): method test_linear_rate_pixel_neg_rate (line 317) | def test_linear_rate_pixel_neg_rate(self): method test_linear_rate_pixel_outlier (line 324) | def test_linear_rate_pixel_outlier(self): method test_linear_rate_pixel_noise (line 331) | def test_linear_rate_pixel_noise(self): method test_linear_rate_pixel_exception (line 343) | def test_linear_rate_pixel_exception(self): method test_linear_rate_pixel_nans (line 350) | def test_linear_rate_pixel_nans(self): class TestLinearRateArray (line 359) | class TestLinearRateArray: method setup_class (line 366) | def setup_class(cls, roipac_params): method test_linear_rate_array (line 391) | def test_linear_rate_array(self): method test_linear_rate_array_two_sigma (line 404) | def test_linear_rate_array_two_sigma(self): method test_linear_rate_array_exception (line 416) | def test_linear_rate_array_exception(self): FILE: utils/crop_ifgs.py function crop_using_gdalwarp (line 28) | def crop_using_gdalwarp(input_file, output_file, extents): FILE: utils/gdaldem.py function main (line 44) | def main(input_file, color_file, output_file): function gen_color_file (line 50) | def gen_color_file(input_file): FILE: utils/plot_linear_rate_profile.py function get_profile (line 67) | def get_profile(pts, img): FILE: utils/plot_sbas_network.py function readtif (line 46) | def readtif(tifname: str): function plot_baseline_time_sbas (line 57) | def plot_baseline_time_sbas(epochs, Bperps, epoch1, epoch2, filename): function epoch_baselines (line 121) | def epoch_baselines(epochs, bperp, masidx, slvidx, supermaster): FILE: utils/plot_time_series.py function readtif (line 48) | def readtif(tifname: str): function get_range (line 112) | def get_range(arr, refarea): function line_select_callback (line 185) | def line_select_callback(eclick, erelease): function show_vel (line 231) | def show_vel(val_ind): function tim_slidupdate (line 281) | def tim_slidupdate(val): function fitfunc (line 327) | def fitfunc(label): function calc_model (line 349) | def calc_model(dph, imdates_ordinal, xvalues, model, vel1p, intercept1p): function printcoords (line 385) | def printcoords(event):