Giter Club home page Giter Club logo

animalsleep's Introduction

Animal Sleep Paper

"Interacting Circadian and Homeostatic Processes with Opportunity Cost: A Mathematical Model of Sleep with Application to Two Mammalian Species"

Abstract

This paper introduces a new model of sleep for mammals. It extends the classic ‘two-process’ model of sleep to account for differences in external circumstances. We apply this model to previously-collected data on elephants and sloths, comparing sleep patterns in the wild with sleep patterns in captivity. We find that the model does very well in explaining sleeping patterns for both types of animals, in both the captive state and in the wild state.

Contributors

  • James H. Cardon
  • Eric R. Eide
  • Kerk L. Phillips
  • Mark H. Showalter

License

The following copyright license restrictions apply:

Copyright: K. Phillips. Feel free to copy, modify and use at your own risk. However, you are not allowed to sell this software or otherwise impinge on its free distribution.

Contents

Ths repository contains four sets of Python code for 5 parameter cases (a-e).

  • GSleepElephantSimpleCx.py
  • GSleepElephantSimpleWx.py
  • GSleepSlothSimpleCx.py
  • GSleepSlothSimpleWx.py

where x takes on values of a, b, c, d & e a is the benchmark case, and b-e are used for sensitivity analysis

These are the calibrations of the generalized utility model of sleep for elephants and three-toed sloths in captivity and in the wild. Internal documentation explains how the calibration and simulation are performed.

A copy of the working paper is also included.

Finally, data from Tobler (1992) and Gravett et al (2017) on sleep patterns of elephants is included in an Excel spreadsheet.

animalsleep's People

Contributors

kerkphil 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.