1/28/2024 0 Comments Whisk instal![]() Install whisk package cd & pip install.Copy recursively /whisk/lib/whisk/ to /whisk/.Add the binaries to your system path so that you can run trace from the command line.Add to echo 'export WHISKPATH=/whisk' > ~/.bash_profile Rename the unpacked directory to /whisk.Add to echo 'export WHISKPATH=/whisk' > ~/.bashrc Linux: Unpack with tar -xzf whisk-1.1.Windows: Download whisk-1.1.0d-win32.exe or whisk-1.1.0d-win64.exe install adding to the PATH.This will probably require more trouble-shooting to make sure all of its parts are working. Build whiski from source, using my lightly customized fork.However, you still need to make a few changes to the Python code that is downloaded in order to make it work with WhiskiWrap. This is the easiest path because it doesn't require compiling anything. Installing ffmpegįirst install ffmpeg and ensure it is available on your system path - that is, you should be able to type ffmpeg in the terminal and it should find it and run it. WhiskiWrap is written in Python and relies on ffmpeg for reading input videos, tifffile for writing tiff stacks, whiski for tracing whiskers in the tiff stacks, and pytables for creating HDF5 files with all of the results.Īlso make sure that you have installed ffmpeg-python>=0.2.0. face='right' - run measure with face on right side, can also specify to 'left' side.measure=True - run measure command, default is False.You may also add optional parameters to run the measure command It could also be epoch_size / (N * n_trace_processes) where N is an integer. Ideally, this should be epoch_size / n_trace_processes, so that all the processes complete at about the same time. chunk_sz_frames - the size of each chunk.However, it should not be so large that you run out of memory when reading in the entire epoch of video. ![]() It is most efficient to make this value as large as possible.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |