MCPcopy Create free account

hub / github.com/dandrino/terrain-erosion-3-ways / functions

Functions46 in github.com/dandrino/terrain-erosion-3-ways

↓ 4 callersFunctionlerp
(x, y, a)
util.py:132
↓ 2 callersFunctionadd_point
(p)
util.py:172
↓ 2 callersFunctioncompute_height
(points, neighbors, deltas, get_delta_fn=None)
river_network.py:30
↓ 2 callersFunctionmin_index
(a)
river_network.py:17
↓ 2 callersFunctionnormalize
(x, bounds=(0, 1))
util.py:20
↓ 2 callersFunctionunit_delta
(i, j)
river_network.py:90
↓ 1 callersFunctionapply_slippage
(terrain, repose_slope, cell_width)
simulation.py:19
↓ 1 callersFunctionbump
(shape, sigma)
river_network.py:22
↓ 1 callersFunctionclean_sample
(sample)
generate_training_images.py:16
↓ 1 callersFunctioncompute_final_height
(points, neighbors, deltas, volume, upstream, max_delta, river_downcutting_constant)
river_network.py:53
↓ 1 callersFunctioncompute_river_network
(points, neighbors, heights, land, directional_inertia, default_water_level,
river_network.py:84
↓ 1 callersFunctioncompute_volume
(i)
river_network.py:144
↓ 1 callersFunctiondist_to_mask
(mask)
util.py:202
↓ 1 callersFunctiondownload_file
(src_id, url, output_dir, tmp_dir)
download_ned_zips.py:26
↓ 1 callersFunctionget_img_array_from_zip
(zip_file, img_name)
extract_height_arrays.py:20
↓ 1 callersFunctionget_previously_downloaded_ids
(dir_path)
download_ned_zips.py:18
↓ 1 callersFunctionget_variants
(a)
generate_training_images.py:43
↓ 1 callersFunctionhas_neighbors_in_radius
(p)
util.py:160
↓ 1 callersFunctionmain
(argv)
make_hillshaded_image.py:9
↓ 1 callersFunctionmain
(argv)
generate_ml_output.py:12
↓ 1 callersFunctionmain
(argv)
ridge_noise.py:12
↓ 1 callersFunctionmain
(argv)
generate_training_images.py:49
↓ 1 callersFunctionmain
(argv)
extract_height_arrays.py:31
↓ 1 callersFunctionmain
(argv)
make_grayscale_image.py:9
↓ 1 callersFunctionmain
(argv)
river_network.py:175
↓ 1 callersFunctionmain
(argv)
domain_warping.py:10
↓ 1 callersFunctionmain
(argv)
simulation.py:27
↓ 1 callersFunctionmain
(argv)
download_ned_zips.py:43
↓ 1 callersFunctionmain
(argv)
plain_old_fbm.py:10
↓ 1 callersFunctionmake_grid_points
(shape)
util.py:137
↓ 1 callersFunctionnoise_octave
(shape, f)
ridge_noise.py:9
↓ 1 callersFunctionpoisson_disc_sampling
(shape, radius, retries=16)
util.py:147
↓ 1 callersFunctionremove_lakes
(mask)
river_network.py:167
↓ 1 callersFunctionrender_triangulation
(shape, tri, values)
river_network.py:158
Functiondisplace
(a, delta)
util.py:61
Functionfbm
(shape, p, lower=-np.inf, upper=np.inf)
util.py:25
Functiongaussian_blur
(a, sigma=1.0)
util.py:224
Functiongaussian_gradient
(a, sigma=1.0)
util.py:78
Functionget_delta
(src, dst)
river_network.py:60
Functionhillshaded
(a, land_mask=None, angle=270)
util.py:122
Functionload_from_file
(path)
util.py:100
Functionread_csv
(csv_path)
util.py:14
Functionsample
(a, offset)
util.py:38
Functionsave_as_png
(a, path)
util.py:109
Functionsimple_gradient
(a)
util.py:92
Functionworley
(shape, spacing)
util.py:215