@@ -1598,11 +1598,13 @@ def fuse_dataset_bdvp(
15981598 range_slices = "" ,
15991599 range_frames = "" ,
16001600 n_resolution_levels = 5 ,
1601+ use_lzw_compression = True ,
16011602 split_slices = False ,
16021603 split_channels = False ,
16031604 split_frames = False ,
16041605 override_z_ratio = False ,
16051606 z_ratio = 1.0 ,
1607+ use_interpolation = True ,
16061608):
16071609 """Export a BigDataViewer project using the BIOP Kheops exporter.
16081610
@@ -1626,6 +1628,8 @@ def fuse_dataset_bdvp(
16261628 Frames to include in the export. Default is all frames.
16271629 n_resolution_levels : int, optional
16281630 Number of pyramid resolution levels to use for the export. Default is 5.
1631+ use_lzw_compression : bool, optional
1632+ If True, compressed the output file using LZW. Default is True.
16291633 split_slices : bool, optional
16301634 If True, splits the output into separate files for each slice. Default is False.
16311635 split_channels : bool, optional
@@ -1636,6 +1640,8 @@ def fuse_dataset_bdvp(
16361640 If True, overrides the default z_ratio value. Default is False.
16371641 z_ratio : float, optional
16381642 The z ratio to use for the export. Default is 1.0.
1643+ use_interpolation : bool, optional
1644+ If True, interpolates during fusion (takes ~4x longer). Default is True.
16391645
16401646 Notes
16411647 -----
@@ -1668,7 +1674,7 @@ def fuse_dataset_bdvp(
16681674 "fusion_method" ,
16691675 "SMOOTH AVERAGE" ,
16701676 "use_lzw_compression" ,
1671- True ,
1677+ use_lzw_compression ,
16721678 "split_slices" ,
16731679 split_slices ,
16741680 "split_channels" ,
@@ -1680,5 +1686,5 @@ def fuse_dataset_bdvp(
16801686 "z_ratio" ,
16811687 z_ratio ,
16821688 "use_interpolation" ,
1683- True ,
1689+ use_interpolation ,
16841690 )
0 commit comments