Coder Social home page Coder Social logo

claffey_matlab's People

Contributors

mclaffey avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

claffey_matlab's Issues

Bin Size and Area Distance

A user asked:

  1. vid.params.analysis_bin_size_in_secs = 60;
    I would like to know what the line above does and why is it set at 60

  2. I would like to know why even when the object does not go thought the cropped area it will still register a distance in the final report.

  1. The bin size refers to how to divide up the video analysis in terms of time. For example, a video might be 300 seconds long. The analysis generates metrics such as the average x position. If you set bin size to 60 (seconds), it will calculate a separate average x for each minute (each bin of 60 seconds), so you'll have 5 consecutive values. If you wanted finer grain analysis, you could set bin size to 10 (seconds) and get 30 consecutive values. I choose 60 as a default of 1 minute, because that was a reasonable bin for my experiment.

  2. I believe that distance is the average distance between the tracked object and the center of the cropped area. In my experiment, I was looking at mice inspecting two different objects within their cage. I highlighted each object as an area. Even if the mouse never interacted directly with the object, I could still see, on average, how close he was to each object. Hope that helps.

Error: No existing matlab file found, starting from scratch

Encountered by a new user of the project after running these lines in the vidz_demo script

sub_analysis = input('Enter name of sub-analysis: ', 's');
vid = vidz_files(video_path, sub_analysis, analysis_dir);

My reply to that user: If I'm remembering correctly, this isn't actually an error. It's just reporting that you haven't told it to use the files/directory for the previously analyzed video. It thinks that you are starting a new analysis, i.e. starting from scratch. As long as that's the case, you should be able to continue with the next lines in the script.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.