Giter Site home page Giter Site logo

eugedp / maze Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 38 KB

Program to track how an animal moves inside a maze made up of 3 branches. In addition to the sequence of the paths made by the animal, it is calculated how long it remains inside each arm. Results exported to an excel file.

Python 100.00%

maze's Introduction

Maze

Programma per tracciare come un animale si muove all'interno di un labirinto composto da 3 rami. Oltre alla sequenza dei percorsi fatti dall'animale, viene calcolare per quanto tempo resta all'interno di ogni braccio.

INSTALLAZIONE SU MAC-OS: A) creao un ambiente virtuale in cui installo tutte le dipendenze necessarie:

  1. Da terminale entro nella cartella Maze-main-master;
  2. Creao l'ambiente virtuale con il comando: python3 -m venv maze
  3. Attivo l'ambiente con il comando: source maze/bin/activate

B) installo tutte le dipendenze con il comando: pip install -r requirements.txt

UTILIZZO

  1. Con il terminale raggiungo la cartella del programma e lancio il comando:

    python3 maze.py

  2. Inserisco il numero di sessione nella riga più alta e faccio 'INIZIA'. Dopo ciò non parte nessun timer. I timer partono solo quando scelgo il braccio.

  3. Per scegliere un braccio uso le lettere: j= Braccio A k= Braccio B l= Braccio C s= centro del labirinto

  4. Appena scelgo un braccio, parte il timer che conta il tempo in quel braccio. Quando scelgo un altro braccio il precedente timer si stoppa e parte quello del secondo braccio.

  • Quando scelgo 's' viene messo in pausa il timer precedente e non ne parte nessun altro.
  1. Terminato di analizzare la sessione, clicco su FINE SESSIONE. Per esportare i file sul file excel, clicco sul bottone ESPORTA. Adesso nella cartella Maze-main ho il file excel con i dati della sessione.

OSSERVAZIONI: A) Se durante la sessione ho commesso un errore, clicco su FINE SESSIONE, poi su ESPORTA. In questo modo potrò ricomincare cliccando ancora su INIZIA. I dati acquisiti prima dell'errore vengono comunque esportati nel file excel.

maze's People

Contributors

eugedp avatar

Watchers

 avatar

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.