Skip to content

Commit

Permalink
Merge branch 'main' into issues-139-166
Browse files Browse the repository at this point in the history
  • Loading branch information
cjsha committed Dec 18, 2024
2 parents f30ec5f + 540d190 commit ec48eed
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion articles/hardware/ucla-miniscope-v4/camera.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,14 @@ The <xref:OpenEphys.Onix1.UclaMiniscopeV4CameraData> operator generates a sequen
The relevant members are selected from the `UclaMiniscopeV4CameraFrame` by right-clicking the
`UclaMiniscopeV4CameraData` operator and choosing the following Output members: `Camera`, and `Clock`. The
[VideoWriter](xref:Bonsai.Vision.VideoWriter) saves the `Camera` to a files with the following format:
`ucla-miniscope-v4-video_.avi` with "GREY" FourCC. The [MatrixWriter](xref:Bonsai.Dsp.MatrixWriter) saves the `Clock` to a
`ucla-miniscope-v4-video_.avi` with "DIB " FourCC. The [MatrixWriter](xref:Bonsai.Dsp.MatrixWriter) saves the `Clock` to a
files with the following format: `ucla-miniscope-v4-clock_.raw`.

> [!NOTE]
> - If you edit the FourCC property yourself and want to use "DIB ", take care to include a space as the fourth character.
> - You can also use the "FMP4" FourCC which compresses the video data into smaller file sizes. However, "FMP4" can only
> be used with 8-bit data.
Try adjusting the `FrameRate`, `SensorGain`, `LEDBrightness`, and `LiquidLensVoltage` properties while the workflow is
running and observing the camera data. Follow our <xref:visualize-data> guide if you are not sure how to observe the
camera data.
2 changes: 1 addition & 1 deletion workflows/hardware/ucla-miniscope-v4/camera.bonsai
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<cv:Suffix>FileCount</cv:Suffix>
<cv:Buffered>true</cv:Buffered>
<cv:Overwrite>false</cv:Overwrite>
<cv:FourCC>GREY</cv:FourCC>
<cv:FourCC>DIB </cv:FourCC>
<cv:FrameRate>30</cv:FrameRate>
<cv:FrameSize>
<cv:Width>0</cv:Width>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
<cv:Suffix>FileCount</cv:Suffix>
<cv:Buffered>true</cv:Buffered>
<cv:Overwrite>false</cv:Overwrite>
<cv:FourCC>GREY</cv:FourCC>
<cv:FourCC>DIB </cv:FourCC>
<cv:FrameRate>30</cv:FrameRate>
<cv:FrameSize>
<cv:Width>0</cv:Width>
Expand Down

0 comments on commit ec48eed

Please sign in to comment.