Comments (2)
We forgot to update this thread after our meeting. Just some quick notes from last week:
- The root cause of the "bug" was that I had misunderstood the way Eric had set up the
vertex_angle
argument -- I had assumed it was the angle between the two screens themselves rather than the angle between one screen and a vertical plane through the vertex. I knew it had to be something like this! In any case, this was my bad. So the angles etc are all calculated correctly withincalc_vis_angle()
. - We discussed the pros and cons of calculating a "visual angle", and how it conveys info about the stimulus when the stimulus is centered around the
min_dist
between the screen and the subject. We'll need to be explicit in the documentation etc about what a "visual angle", when computed this way, tells us. - We also discussed how modulation of spatial frequency itself can be calculated using the
min_dist
that Eric was already calculating. This is similar to the way in which Graham & Dre have calibrated spatial frequencies appropriately during their e-phys experiments by incorporating the distance between the bird & screen as well as the dimensions of the stimuli (e.g. in pixels). I gave Eric some Matlab scripts that Graham had been using for his e-phys stimuli. Eric has started writing this spatial frequency calculation function as a separate function. - We're both stabbing our way through plotting. We now have some code to approximate the positions of the screens based on the inputs from these functions. From these (and the actual dimensions of the TV screens), we can try to figure out the coordinates of all corners of the tunnel, with the hope of 3D plotting all this in
rgl
ultimately - Eric will also take a stab at a
add_treaments()
function (or something with a similar name) to add in treatment labels (as a column in the tibble) as well as additional metadata such as vertex (or tunnel) coordinates and stimulus parameters as attributes.
from pathviewr.
Hey @epress12 , when you get a chance can you please add details to https://github.com/vbaliga/pathviewR/blob/3d6b6e3746788c7a5a794866be6ec9f186ab06b0/R/analytical_functions.R#L369
No big deal -- it just popped up on a devtools::check()
that the roxygen for this function was missing one of its parameter arguments. I inserted temporary dummy text just so the check
would pass.
from pathviewr.
Related Issues (17)
- Consolidate vis angle functions and scripts HOT 2
- Add a check for data "Type" in import function? HOT 1
- Ellipises (...) in functions are improperly passing arguments HOT 3
- Resources & tutorials on quaternions HOT 2
- Automation of `max_frame_gap` argument HOT 10
- All-in-one argument check HOT 4
- [general_feature_request]
- Issues with next version of ggplot2 HOT 2
- Gather step is broken HOT 10
- Object classes in pathviewR HOT 9
- Potential submission venues HOT 1
- Add roxygen example to function HOT 1
- roxygen example
- The dreaded R 4.0 update & packages we'll need HOT 1
- Package writing guidelines & resources HOT 1
- We need to pick a license HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pathviewr.