Skip to content

Commit

Permalink
addition test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mochic committed Nov 20, 2023
1 parent 186a494 commit 74b3f0f
Show file tree
Hide file tree
Showing 9 changed files with 1,049 additions and 22 deletions.
71 changes: 71 additions & 0 deletions tests/resources/neuropixels/bad/mvr.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
[MVR_BACKEND]
CAMERA_INPUT_SIGNAL_DWELL_MS=400
DEFAULT_RECORDING_TIME_MINUTES=180
CAMERA_START_STOP_RECORDING_SPACING_TIME_MS=50
SNAPSHOT_FILE_FORMAT=image/jpeg
CAMERAS_TO_IGNORE=<none>
CODEC=h264_nvenc
FFMPEG_INPUT_PIXEL_FORMAT=gray
FFMPEG_OUTPUT_PIXEL_FORMAT=yuv420p
H264_CRF=17
H264_PRESET=medium
H264_HW_ACCELERATION_MODE=cuvid
HIDE_FFMPEG_BANNER=true

[CAMERA_DEFAULT_CONFIG]
LABEL=none
TAG=-1
PERCENTAGE_OF_FRAMES_TO_SHOW_IN_UI=50
CAMERA_FRAME_BUFFER_SIZE=10
CAMERA_GAIN=0.0000000000
CAMERA_EXPOSURE_MS=10.0000000000
STREAM_BYTES_PER_SECOND=45000000
FRAMES_PER_SECOND=60.0000000000
BINNING_FACTOR=1
WIDTH=658
HEIGHT=492
PAINT_FRAME_ID=true
FRAME_ID_OFFSET_X=0
FRAME_ID_OFFSET_Y=0
FLIP_IMAGE_VERTICALLY=false
FLIP_IMAGE_HORIZONTALLY=false
ROTATE_IMAGE=0
UI_FUNCTION=panel
SN=none
INITIAL_CUSTOM_EXPOSURE_TIME_MS=1.0000000000
INITIAL_CUSTOM_RECORDED_VIDEO_FRAMES=10

[UI_PROPERTIES]
LOG_LEVEL=INFO
GRID_MODE=1x3
STARTUP_UI_IN_BASIC_MODE=false
SOCKET_SERVER_PORT=50000
UI_LAYOUT_MODE=landscape
MAX_FRAME_RATE_ON_GRID_PANEL=10.0000000000
MAX_FRAME_RATE_ON_FOCUS_PANEL=30.0000000000
LOG_ISSUE_URL=https://alleninstitute.sharepoint.com/sites/Instrumentation/MPE_Software/MPE%20Software/MultiVideoRecorder.aspx
LOG_SERVER_HOST_NAME=eng-logtools
LOG_SERVER_HOST_PORT=9000
ADMIN_PASSWORD=5f4dcc3b5aa765d61d8327deb882cf99
KILL_FILE_NAME=mvr.kill
KILL_FILE_FOLDER=c:\ProgramData\AIBS_MPE\kfs
IN_PRODUCTION=true
USE_LOG_TIME_FOR_LOG_FILE_NAME=false

[Camera 2]
ID=DEV_000F315C1468
SN=50-0536905703
LABEL=Eye
TAG=2
CAMERA_EXPOSURE_MS=16.0000000000
CAMERA_GAIN=22.0000000000
INITIAL_CUSTOM_EXPOSURE_TIME_MS=2.0000000000

[Camera 3]
ID=DEV_000F315C1467
SN=50-0536905703
LABEL=Face
TAG=3
CAMERA_EXPOSURE_MS=3.0000000000
CAMERA_GAIN=13.0000000000
INITIAL_CUSTOM_EXPOSURE_TIME_MS=3.0000000000
5 changes: 5 additions & 0 deletions tests/resources/neuropixels/bad/mvr.mapping.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"Camera 5": "Behavior",
"Camera 2": "Eye",
"Camera 3": "Face forward"
}
Loading

0 comments on commit 74b3f0f

Please sign in to comment.