plotting

Plotting tools for Planet Four data

source

plot_blotches_for_tile

 plot_blotches_for_tile (tile_id, ax=None, **plot_kwargs)
tile_with_blotches = "APF0000004"
plot_blotches_for_tile(tile_with_blotches)


source

plot_fans_for_tile

 plot_fans_for_tile (tile_id, ax=None, **plot_kwargs)
tile_with_fans = "APF000000c"
plot_fans_for_tile(tile_with_fans)


source

plot_original_tile

 plot_original_tile (tileID, ax=None)
plot_original_tile(tile_with_blotches)


source

plot_original_and_fans

 plot_original_and_fans (tileID)
plot_original_and_fans(tile_with_fans)


source

plot_original_and_blotches

 plot_original_and_blotches (tileID)
plot_original_and_blotches(tile_with_blotches)


source

plot_original_fans_blotches

 plot_original_fans_blotches (tileID, save=False)
tile_with_both = "APF0000006"
plot_original_fans_blotches(tile_with_both)


source

plot_x_random_tiles_with_n_fans

 plot_x_random_tiles_with_n_fans (x:int=3, n:int=15, save:bool=False,
                                  random_state:int=None)
Type Default Details
x int 3 how many of 2 col original+p4 data plots to receive
n int 15 whats the minimum number of fans to contain
save bool False if True, saves a PNG with the plot for each tile_id separately
random_state int None can be set to recreate the exact same set
plot_x_random_tiles_with_n_fans(2)
100%|████████████████████████████████████████| 170k/170k [00:00<00:00, 345MB/s]
100%|████████████████████████████████████████| 171k/171k [00:00<00:00, 240MB/s]