ptvr  v0.1
A Python toolkit for creating VR experiments.
ptvr.stimuli.world.Spherical Class Reference
Inheritance diagram for ptvr.stimuli.world.Spherical:
ptvr.stimuli.world.Frame

Public Member Functions

def __init__ (self, r=0, polar=0, elevation=0, units='degrees')
 
def degree2radian (self)
 
def to_string (self)
 

Public Attributes

 r
 
 polar
 
 elevation
 
 units
 

Detailed Description

A Spherical Frame, defined by radius and polar and elevation angle, centred at the centre of the tracked room.

Constructor & Destructor Documentation

◆ __init__()

def ptvr.stimuli.world.Spherical.__init__ (   self,
  r = 0,
  polar = 0,
  elevation = 0,
  units = 'degrees' 
)

Member Function Documentation

◆ degree2radian()

def ptvr.stimuli.world.Spherical.degree2radian (   self)

◆ to_string()

def ptvr.stimuli.world.Spherical.to_string (   self)

Member Data Documentation

◆ elevation

ptvr.stimuli.world.Spherical.elevation

◆ polar

ptvr.stimuli.world.Spherical.polar

◆ r

ptvr.stimuli.world.Spherical.r

◆ units

ptvr.stimuli.world.Spherical.units

The documentation for this class was generated from the following file: