Skip to content

Commit

Permalink
add crop offset to example files to make tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdaloop committed Aug 5, 2024
1 parent 1ea794f commit 0aef481
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 5 deletions.
4 changes: 3 additions & 1 deletion examples/aibs_smartspim_instrument.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@
"bin_height": null,
"bin_unit": "pixel",
"gain": null,
"crop_offset_x": null,
"crop_offset_y": null,
"crop_width": null,
"crop_height": null,
"crop_unit": "pixel",
Expand Down Expand Up @@ -506,4 +508,4 @@
],
"daqs": [],
"notes": null
}
}
4 changes: 3 additions & 1 deletion examples/aind_smartspim_instrument.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@
"bin_height": null,
"bin_unit": "pixel",
"gain": null,
"crop_offset_x": null,
"crop_offset_y": null,
"crop_width": null,
"crop_height": null,
"crop_unit": "pixel",
Expand Down Expand Up @@ -633,4 +635,4 @@
],
"daqs": [],
"notes": null
}
}
12 changes: 12 additions & 0 deletions examples/ephys_rig.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@
"bin_height": null,
"bin_unit": "pixel",
"gain": null,
"crop_offset_x": null,
"crop_offset_y": null,
"crop_width": null,
"crop_height": null,
"crop_unit": "pixel",
Expand Down Expand Up @@ -171,6 +173,8 @@
"bin_height": null,
"bin_unit": "pixel",
"gain": null,
"crop_offset_x": null,
"crop_offset_y": null,
"crop_width": null,
"crop_height": null,
"crop_unit": "pixel",
Expand Down Expand Up @@ -354,6 +358,8 @@
"bin_height": null,
"bin_unit": "pixel",
"gain": null,
"crop_offset_x": null,
"crop_offset_y": null,
"crop_width": null,
"crop_height": null,
"crop_unit": "pixel",
Expand Down Expand Up @@ -430,6 +436,8 @@
"bin_height": null,
"bin_unit": "pixel",
"gain": null,
"crop_offset_x": null,
"crop_offset_y": null,
"crop_width": null,
"crop_height": null,
"crop_unit": "pixel",
Expand Down Expand Up @@ -506,6 +514,8 @@
"bin_height": null,
"bin_unit": "pixel",
"gain": null,
"crop_offset_x": null,
"crop_offset_y": null,
"crop_width": null,
"crop_height": null,
"crop_unit": "pixel",
Expand Down Expand Up @@ -582,6 +592,8 @@
"bin_height": null,
"bin_unit": "pixel",
"gain": null,
"crop_offset_x": null,
"crop_offset_y": null,
"crop_width": null,
"crop_height": null,
"crop_unit": "pixel",
Expand Down
4 changes: 3 additions & 1 deletion examples/exaspim_instrument.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
"bin_height": null,
"bin_unit": "pixel",
"gain": null,
"crop_offset_x": null,
"crop_offset_y": null,
"crop_width": null,
"crop_height": null,
"crop_unit": "pixel",
Expand Down Expand Up @@ -455,4 +457,4 @@
}
],
"notes": null
}
}
10 changes: 9 additions & 1 deletion examples/fip_behavior_rig.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@
"bin_height": null,
"bin_unit": "pixel",
"gain": null,
"crop_offset_x": null,
"crop_offset_y": null,
"crop_width": null,
"crop_height": null,
"crop_unit": "pixel",
Expand Down Expand Up @@ -213,6 +215,8 @@
"bin_height": null,
"bin_unit": "pixel",
"gain": null,
"crop_offset_x": null,
"crop_offset_y": null,
"crop_width": null,
"crop_height": null,
"crop_unit": "pixel",
Expand Down Expand Up @@ -390,6 +394,8 @@
"bin_height": 4,
"bin_unit": "pixel",
"gain": "2",
"crop_offset_x": 0,
"crop_offset_y": 0,
"crop_width": 200,
"crop_height": 200,
"crop_unit": "pixel",
Expand Down Expand Up @@ -434,6 +440,8 @@
"bin_height": 4,
"bin_unit": "pixel",
"gain": "2",
"crop_offset_x": 0,
"crop_offset_y": 0,
"crop_width": 200,
"crop_height": 200,
"crop_unit": "pixel",
Expand Down Expand Up @@ -937,4 +945,4 @@
}
],
"notes": null
}
}
4 changes: 4 additions & 0 deletions examples/fip_behavior_rig.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@
bin_width=4,
bin_height=4,
bin_mode="Additive",
crop_offset_x=0,
crop_offset_y=0,
crop_width=200,
crop_height=200,
gain=2,
Expand All @@ -187,6 +189,8 @@
bin_width=4,
bin_height=4,
bin_mode="Additive",
crop_offset_x=0,
crop_offset_y=0,
crop_width=200,
crop_height=200,
gain=2,
Expand Down
10 changes: 9 additions & 1 deletion examples/fip_ophys_rig.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@
"bin_height": null,
"bin_unit": "pixel",
"gain": null,
"crop_offset_x": null,
"crop_offset_y": null,
"crop_width": null,
"crop_height": null,
"crop_unit": "pixel",
Expand Down Expand Up @@ -199,6 +201,8 @@
"bin_height": null,
"bin_unit": "pixel",
"gain": null,
"crop_offset_x": null,
"crop_offset_y": null,
"crop_width": null,
"crop_height": null,
"crop_unit": "pixel",
Expand Down Expand Up @@ -376,6 +380,8 @@
"bin_height": 4,
"bin_unit": "pixel",
"gain": "2",
"crop_offset_x": 0,
"crop_offset_y": 0,
"crop_width": 200,
"crop_height": 200,
"crop_unit": "pixel",
Expand Down Expand Up @@ -420,6 +426,8 @@
"bin_height": 4,
"bin_unit": "pixel",
"gain": "2",
"crop_offset_x": 0,
"crop_offset_y": 0,
"crop_width": 200,
"crop_height": 200,
"crop_unit": "pixel",
Expand Down Expand Up @@ -891,4 +899,4 @@
}
],
"notes": null
}
}
4 changes: 4 additions & 0 deletions examples/fip_ophys_rig.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@
bin_width=4,
bin_height=4,
bin_mode="Additive",
crop_offset_x=0,
crop_offset_y=0,
crop_width=200,
crop_height=200,
gain=2,
Expand All @@ -133,6 +135,8 @@
bin_width=4,
bin_height=4,
bin_mode="Additive",
crop_offset_x=0,
crop_offset_y=0,
crop_width=200,
crop_height=200,
gain=2,
Expand Down

0 comments on commit 0aef481

Please sign in to comment.