Skip to content

Commit

Permalink
implement config defaults and examples for conshelf hardware
Browse files Browse the repository at this point in the history
  • Loading branch information
Emlyn John Davies committed Jun 14, 2021
1 parent 1d2eb09 commit d0f55a9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
10 changes: 4 additions & 6 deletions pysilcam/camera_config_defaults.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,17 @@
# Its used if no conigiuration file is found
[Camera]
configversion = 1
AcquisitionFrameRateAbs = 1
AcquisitionFrameRateAbs = 2
TriggerSource = 'FixedRate'
AcquisitionMode = 'SingleFrame'
ExposureTimeAbs = 180
#PixelFormat = 'BayerRG8'
ExposureTimeAbs = 400
PixelFormat = 'RGB8Packed'
StrobeDuration = 800
StrobeDuration = 250
StrobeDelay = 0
StrobeDurationMode = 'Controlled'
StrobeSource = 'FrameTriggerReady'
SyncOutPolarity = 'Normal'
SyncOutSelector = 'SyncOut1'
SyncOutSource = 'Strobe1'

#GVSPPacketSize = 9194
GVSPPacketSize = 1500
GVSPPacketSize = 9197
19 changes: 11 additions & 8 deletions pysilcam/config_example.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
[General]
version = 3
loglevel = INFO
logfile = Y:/proc/log.log
datafile = Y:/proc
logfile = proc/log.log
datafile = proc

[Background]
num_images = 15

[Process]
threshold = 0.85
threshold = 0.98
minimum_area = 12.0
max_particles = 5000
min_deformation = 0
Expand All @@ -17,18 +18,20 @@ bad_lighting_limit = None
real_time_stats = True

[PostProcess]
pix_size = 28.758169934640524
path_length = 12
com_port = COM4
pix_size = 27.532679738562095
path_length = 40
com_port = COM3
window_size = 20

[ExportParticles]
export_images = True
outputpath = Y:/export
outputpath = export
min_length = 0

[NNClassify]
model_path = 'C:/model/keras_model.h5'
model_path = 'C:\model\keras_model.h5'

GVSPPacketSize = 9197

[Tracking]
min_length = 200 # um, Filter particles with major_axis_length less than this.
Expand Down

0 comments on commit d0f55a9

Please sign in to comment.