Unit tests
ome_zarr
img2d()
img3d()
imgL()
imgL2()
test_compare_multiscale_dicts()
Test Image._compare_multiscale_dicts
.
Source code in tests/test_ome_zarr.py
test_constructor(img2d, img3d, tmpdir)
Test ome_zarr.Image
object constructor.
Source code in tests/test_ome_zarr.py
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
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 637 638 639 640 641 642 643 644 |
|
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)
Test Image._load_channel_info
.
Source code in tests/test_ome_zarr.py
test_load_multiscale_info(img2d, tmpdir)
Test Image._load_multiscale_info
.
Source code in tests/test_ome_zarr.py
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 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 |
|
test_plot(img2d, tmpdir)
Test Image.plot()
.
Source code in tests/test_ome_zarr.py
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 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 |
|
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
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.