Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Training village
Logo
  • User Guide
    • Getting Started
    • Animal Procedures
    • GUI Overview
    • Initial Settings
    • Create New Subjects
    • Calibrate and Test Corridor Components
    • Calibrate and Test Animal Detection
    • Create a Training Protocol
    • System State Machine
    • Receive and Respond to Telegram Alarms
    • Maintenance
  • How to Build It
    • List of Parts
    • Assembly Instructions
    • Software Installation
  • Initial Configuration
    • Hardware Connections
    • Configure Remote Access
    • Create a Telegram Bot
  • API
    • calibration
      • sound_calibration
        • SoundCalibration
      • water_calibration
        • WaterCalibration
    • classes
      • abstract_classes
        • CameraBase
        • EventBase
        • MotorBase
        • PyBpodBase
        • ScaleBase
        • SoundDeviceBase
        • TelegramBotBase
        • TempSensorBase
      • collection
        • Collection
      • enums
        • Actions
        • Active
        • AreaActive
        • Color
        • Controller
        • Cycle
        • DataTable
        • Info
        • Save
        • ScreenActive
        • State
        • SuperEnum
        • SyncType
      • settings_class
        • Setting
        • Settings
      • subject
        • Subject
    • custom_classes
      • after_session_base
        • AfterSessionBase
      • camera_trigger_base
        • CameraTriggerBase
      • change_cycle_base
        • ChangeCycleBase
      • online_plot_base
        • OnlinePlotBase
      • session_plot_base
        • SessionPlotBase
      • subject_plot_base
        • SubjectPlotBase
      • task
        • Event
        • Output
        • Task
        • village.custom_classes.task.TaskError
      • training_protocol_base
        • Settings
        • TrainingProtocolBase
        • village.custom_classes.training_protocol_base.TrainingError
    • devices
      • bpod
        • get_bpod
        • PyBpod
        • SoftCode
      • camera
        • get_camera
        • print_info_about_the_connected_cameras
        • Camera
        • LowFreqQPicamera2
      • motor
        • find_pwmchip
        • get_motor
        • Motor
      • rfid
        • Rfid
      • scale
        • get_scale
        • real_weight_inference
        • Scale
      • sound_device
        • get_sound_device
        • get_sound_devices
        • SoundDevice
      • telegram_bot
        • get_telegram_bot
        • TelegramBot
      • temp_sensor
        • get_temp_sensor
        • TempSensor
    • gui
      • data_layout
      • gui
        • Gui
      • gui_window
      • layout
      • main_layout
      • monitor_layout
        • LabelButtons
      • settings_layout
      • sound_calibration_layout
        • DummyTask
      • tasks_layout
      • water_calibration_layout
    • plots
      • corridor_plot
        • corridor_plot
      • sound_calibration_plot
        • sound_calibration_plot
      • temperatures_plot
        • temperatures_plot
      • water_calibration_plot
        • water_calibration_plot
      • weights_plot
        • weights_plot
    • screen
      • behavior_window
      • video_worker
        • VideoWorker
    • scripts
      • error_queue
      • global_csv_for_subject
        • main
      • log
        • Log
      • parse_bpod_messages
        • parse_input_to_tuple_override
        • parse_output_to_tuple
        • parse_output_to_tuple_override
      • playground
        • measure_softcode_latency
        • BpodWithLatencyTest
      • rsync_to_hard_drive
        • main
        • run_rsync_local
      • rsync_to_server
        • main
        • run_rsync
      • safe_removal_of_data
        • check_files_for_backup_local
        • check_files_for_backup_remote
        • main
        • parse_timestamp_from_filename
        • remove_file
        • remove_old_data
      • time_utils
        • TimeUtils
      • utils
        • calculate_active_hours
        • change_directory_settings
        • change_system_directory_settings
        • create_directories
        • create_directories_from_path
        • create_pixmap
        • delete_all_elements_from_layout
        • download_github_repositories
        • get_x_value_interp
        • has_low_disk_space
        • interpolate
        • is_active
        • is_active_regular
        • reformat_trial_data
        • setup_logging
        • transform_raw_to_clean
    • manager
      • Manager
    • main
      • main
      • system_run
  • Resources
    • 3D Printing Files
    • Code Repository
  • FAQ
  • Troubleshooting
Back to top
View this page

custom_classes

Modules

after_session_base

This module runs at the end of each session when the animal is back home.

camera_trigger_base

change_cycle_base

This module runs when cycle day/night changes and there is no animal in the behavioural box.

online_plot_base

session_plot_base

subject_plot_base

task

training_protocol_base

Next
after_session_base
Previous
Subject
Copyright © 2024, Rafael Marin, Balma Serrano, Hernando Vergara, Jaime de la Rocha
Made with Sphinx and @pradyunsg's Furo