Unit tests
ome_zarr
img2d()
img3d()
img3dv3()
img4d()
imgL()
imgL2()
test_compare_multiscale_dicts()
Test Image._compare_multiscale_dicts
.
Source code in tests/test_ome_zarr.py
test_constructor(img2d, img3d, img4d, img3dv3, tmpdir)
Test ome_zarr.Image
object constructor.
Source code in tests/test_ome_zarr.py
505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 |
|
test_create_name_plate_A01()
Test ome_zarr.create_name_plate_A01
function.
Source code in tests/test_ome_zarr.py
test_create_name_row_col()
Test ome_zarr.create_name_row_col
function.
Source code in tests/test_ome_zarr.py
test_digest_bounding_box(img2d)
Test Image._digest_bounding_box
.
Source code in tests/test_ome_zarr.py
test_digest_channels_labels(img2d)
Test Image._digest_channels_labels
.
Source code in tests/test_ome_zarr.py
test_digest_pyramid_level_argument(img2d, img3d)
Test Image._digest_pyramid_level_argument
.
Source code in tests/test_ome_zarr.py
test_extract_scale_spacings(img2d)
Test Image._extract_scale_spacings
.
Source code in tests/test_ome_zarr.py
test_find_path_of_highest_resolution_level(img2d)
Test Image._find_path_of_highest_resolution_level
.
Source code in tests/test_ome_zarr.py
test_find_path_of_lowest_level(img2d)
Test Image._find_path_of_lowest_resolution_level
.
Source code in tests/test_ome_zarr.py
test_get_array_by_coordinate(img2d, img3d)
Test ome_zarr.Image
object get_array_by_coordinate() method.
Source code in tests/test_ome_zarr.py
693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 |
|
test_get_array_pair_by_coordinate(tmpdir)
Test ome_zarr.Image
object get_array_pair_by_coordinate() method.
Source code in tests/test_ome_zarr.py
test_get_bounding_box_for_label_value(img2d)
Test Image.get_bounding_box_for_label_value
.
Source code in tests/test_ome_zarr.py
test_get_channels(img3d)
Test get_channels()
method of ome_zarr.Image
object.
Source code in tests/test_ome_zarr.py
test_get_label_names(img2d)
Test get_label_names()
method of ome_zarr.Image
object.
test_get_path(img2d)
Test get_path()
method of ome_zarr.Image
object.
test_get_pyramid_levels(img2d, img3d)
Test get_pyramid_levels()
method of ome_zarr.Image
object.
Source code in tests/test_ome_zarr.py
test_get_scale(img2d, img3d)
Test ome_zarr.Image
object get_scale() method.
Source code in tests/test_ome_zarr.py
test_get_table(img2d)
Test Image.get_table()
.
Source code in tests/test_ome_zarr.py
test_get_table_names(img3d)
Test get_table_names()
method of ome_zarr.Image
object.
test_image_str(img2d, img3d)
test_imagelist_get_layout(imgL2)
Test ome_zarr.ImageList.get_layout
.
Source code in tests/test_ome_zarr.py
test_imagelist_get_names(imgL2)
test_imagelist_get_paths(imgL2)
test_imagelist_getattr(imgL)
Test ome_zarr.ImageList
getting attributes of contained Image objects.
Source code in tests/test_ome_zarr.py
test_imagelist_getitem(imgL)
Test ome_zarr.ImageList
subsetting.
Source code in tests/test_ome_zarr.py
test_imagelist_plot(imgL2, tmpdir)
Test ome_zarr.ImageList.plot
.
Source code in tests/test_ome_zarr.py
test_imagelist_set_layout(imgL2)
Test ome_zarr.ImageList.set_layout
.
Source code in tests/test_ome_zarr.py
test_imagelist_str(imgL)
Test ome_zarr.ImageList
object string representation.
Source code in tests/test_ome_zarr.py
test_import_plate(tmpdir)
Test import_plate
function.
Source code in tests/test_ome_zarr.py
test_load_axes_unit(img2d)
Test Image._load_axes_unit
.
Source code in tests/test_ome_zarr.py
test_load_channel_info(img3d, img2d, img4d)
Test Image._load_channel_info
.
Source code in tests/test_ome_zarr.py
test_load_multiscale_info(img2d, img3dv3, tmpdir)
Test Image._load_multiscale_info
.
Source code in tests/test_ome_zarr.py
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 |
|
test_plot(img2d, img4d, img3dv3, tmpdir)
Test Image.plot()
.
Source code in tests/test_ome_zarr.py
859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 |
|
plotting
npa3d()
npa4d()
test_convert_to_rgb(npa3d)
Test convert_to_rgb.
Source code in tests/test_plotting.py
test_get_shuffled_cmap()
test_pad_image(npa3d)
Test pad_image.
Source code in tests/test_plotting.py
test_plot_image(npa4d, npa3d, tmpdir)
Test plot_image.
Source code in tests/test_plotting.py
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 |
|
test_zproject(npa3d, npa4d)
Test zproject.
Source code in tests/test_plotting.py
hcs_wrappers
plate_2d()
A hcs_wrappers.FractalZarr
object representing a 2D ome-zarr fileset
plate_3d()
A hcs_wrappers.FractalZarr
object representing a 3D ome-zarr fileset
plate_set1()
plate_set2()
A hcs_wrappers.FractalZarrSet
object representing a two ome-zarr filesets
test_calc_average_FOV(tmpdir, plate_3d)
Test FractalZarr.calc_average_FOV().
Source code in tests/test_hcs_wrappers.py
test_constructor_2d(plate_2d)
Test the FractalZarr
constructor (2D).
Source code in tests/test_hcs_wrappers.py
test_constructor_3d(plate_3d)
Test the FractalZarr
constructor (3D).
Source code in tests/test_hcs_wrappers.py
test_constructor_set(plate_set1, plate_set2, tmpdir)
Test FractalZarrSet
object constructor.
Source code in tests/test_hcs_wrappers.py
test_coordinate_conversions(plate_3d, plate_2d)
Test FractalZarr.convert_*
coordinate conversions.
Source code in tests/test_hcs_wrappers.py
test_digest_include_wells_argument(plate_3d)
Test FractalZarr._digest_include_wells_argument
.
Source code in tests/test_hcs_wrappers.py
test_digest_pyramid_level_argument(plate_3d, plate_2d)
Test FractalZarr._digest_pyramid_level_argument
.
Source code in tests/test_hcs_wrappers.py
test_digest_well_argument(plate_3d)
Test FractalZarr._digest_well_argument
.
Source code in tests/test_hcs_wrappers.py
test_get_channels(plate_2d, plate_3d)
Test FractalZarr.get_channels().
Source code in tests/test_hcs_wrappers.py
test_get_image_ROI_3d(plate_3d)
Test FractalZarr.get_image_ROI()
.
Source code in tests/test_hcs_wrappers.py
test_get_image_grid_ROIs_3d(plate_3d)
Test FractalZarr.get_image_grid_ROIs().
Source code in tests/test_hcs_wrappers.py
test_get_image_table_idx(plate_2d)
Test FractalZarr.get_image_table_idx()
.
Source code in tests/test_hcs_wrappers.py
test_get_label_ROI_2d(plate_2d)
Test FractalZarr.get_label_ROI()
.
Source code in tests/test_hcs_wrappers.py
test_get_label_names(plate_2d, plate_3d)
Test FractalZarr.get_label_names().
test_get_label_table_idx(plate_2d)
Test FractalZarr.get_table_table_idx()
.
Source code in tests/test_hcs_wrappers.py
test_get_path(plate_2d, plate_3d)
Test FractalZarr.get_path().
Source code in tests/test_hcs_wrappers.py
test_get_table(plate_2d)
Test FractalZarr.get_table
.
Source code in tests/test_hcs_wrappers.py
test_get_table_names(plate_2d, plate_3d)
Test FractalZarr.get_table_names().
Source code in tests/test_hcs_wrappers.py
test_get_wells(plate_2d, plate_3d)
Test FractalZarr.get_wells().
Source code in tests/test_hcs_wrappers.py
test_missing_channel_attrs(tmpdir)
Test FractalZarr
missing channel attributes.
Source code in tests/test_hcs_wrappers.py
test_missing_image_multiscales_attrs(tmpdir)
Test FractalZarr
missing multiscales attributes.
Source code in tests/test_hcs_wrappers.py
test_missing_label_multiscales_attrs(tmpdir)
Test FractalZarr
missing multiscales attributes.
Source code in tests/test_hcs_wrappers.py
test_missing_tables(tmpdir)
Test FractalZarr
missing tables.
Source code in tests/test_hcs_wrappers.py
test_plate_str(plate_2d, plate_3d)
Test FractalZarr
object string representation.
test_plateset_get_element(plate_set1)
Test FractFmiZarr.get_element()
.
Source code in tests/test_hcs_wrappers.py
test_plateset_str(plate_set1)
test_plot_plate(plate_2d, tmpdir)
Test plot_plate.
Source code in tests/test_hcs_wrappers.py
test_plot_well(plate_2d, tmpdir)
Test plot_plate.