Skip to content

Commit

Permalink
Mad scale (#347)
Browse files Browse the repository at this point in the history
* Add mad_scale=5.0 to IF min/max parameters
  • Loading branch information
blowekamp authored Oct 6, 2023
1 parent 600a35d commit 899822c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion em_workflows/brt/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def gen_ng_metadata(fp_in: FilePath) -> Dict:
ng_asset["metadata"] = {
"shader": hw_image.shader_type,
"dimensions": hw_image.dims,
"shaderParameters": hw_image.neuroglancer_shader_parameters(),
"shaderParameters": hw_image.neuroglancer_shader_parameters(mad_scale=5.0),
}
return ng_asset

Expand Down
2 changes: 1 addition & 1 deletion em_workflows/czi/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def gen_imageSet(file_path: FilePath) -> List:
ng_asset["metadata"] = dict(
shader=image.shader_type,
dimensions="XY",
shaderParameters=image.neuroglancer_shader_parameters(),
shaderParameters=image.neuroglancer_shader_parameters(mad_scale=5.0),
)
assets.append(ng_asset)
image_elt["assets"] = assets
Expand Down
2 changes: 1 addition & 1 deletion em_workflows/sem_tomo/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def gen_ng_metadata(fp_in: FilePath) -> Dict:
ng_asset["metadata"] = dict(
shader=hw_image.shader_type,
dimensions=hw_image.dims,
shaderParameters=hw_image.neuroglancer_shader_parameters(),
shaderParameters=hw_image.neuroglancer_shader_parameters(mad_scale=5.0),
)
return ng_asset

Expand Down

0 comments on commit 899822c

Please sign in to comment.