Skip to main content

Virtual Scanner Tabletop Web Games


Virtual Scanner Tabletop is an extension to Virtual Scanner comprising of educational games about MRI that can be run by simulation or connected to a real educational MRI scanner. Target audience include high school, college, and post-grad students as well as members of the MR and scientific community at large.

Quickstart

Method 1: pip install

  1. On the command line, make a new virtual environment using the command: python -m venv myenv For more info on creating virtual environments, see here. Activate the virtual environment using the command source venv/bin/activate on the terminal from the folder where you installed the virtual environment
  2. Install the games using the command: 'pip install vs-tabletop'
  3. cd into the main folder called "vstabletop" (venv\Lib\site-packages\vstabletop) and run app.py. Click into the link in the program output (examplee: http://127.0.0.1:5000/). Log in as admin using password 123456.

Troubleshooting

(version 1.0.0b5) - You might encounter problems with installing Kiwisolver which requires Visual C++. If you have trouble getting the Visual C++, you can ignore the kiwisolver and perform the following steps:

  1. Install vs-tabletop without dependencies: pip install vs-tabletop==1.0.0b4 --no-deps
  2. After it's installed, find requirements.txt in the vstabletop folder and remove the kiwisolver==1.0.1 line
  3. Install the rest of the requirements: pip install -r requirements.txt
  4. Run app.py the same way as described above. The games should be able to run normally.

Method 2: Cloning

  1. Clone the repository.
  2. Make a virtual environment as described in Method 1, activate it, and install everything specified in requirements.txt
  3. cd into the app directory and run questions.py to set up the database.
  4. Run the app in one of two ways: (a) Run app.py using Pycharm or other IDE, or on the command line with python app.py (b) On the command line, set the FLASK_APP variable (set FLASK_APP=app on Windows, or export FLASK_APP=app on non-Windows). Then run the app with: flask run
  5. Click into the link in the program output (example: http://127.0.0.1:5000/) or copy & paste it into the browser. Log in as admin using password 123456.

Please provide feedback here after you've tried all the beginner games😄: https://forms.gle/HMby4NHcmrTLi5Ai7

Tabletop Games

The eight tabletop games are grouped into 4 pairs, each containing a "beginner" game and an "advanced" game. Games 1, 3, 5, 7 are beginner games and the games 2, 4, 6, 8 are advanced games.

# Game Conceptsr
1 What's in an image? FOV, resolution, windowing
2 K-space magiK projection imaging, k-space
3 Brains, please! contrast, T1/T2/PD, TR/TE/FA
4 Fresh blood flow imaging
5 Proton's got moves M9, precession, RF pulses, signal detection
6 Relaxation station T1 and T2 relaxation, FID
7 Puzzled by projection I 1D and 2D projection (forward)
8 Puzzled by projection II 1D and 2D projection (inverse)

7. 👥 Contributing and Community guidelines

vs-tabletop adheres to a code of conduct adapted from the Contributor Covenant code of conduct. Contributing guidelines can be found here.

References

Brain images from the Coursera Neurohacking in R (https://www.kaggle.com/datasets/ilknuricke/neurohackinginrimages) were used in Game 2.

Screenshots for quick reference

Screenshots are in-development previews of the games. They will be updated at the first release.

Login page

login

Game navigation

index

Module 1 (beginner): What's in an image?

game1

Module 2 (beginner): Brains, please!

game3

Module 3 (beginner): Proton's got moves

game5

Module 4 (beginner): Puzzled by Projection I

game7

Metadata

Release files for vs-tabletop-lite 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vs-tabletop-lite 1.0.0
File Size Uploaded Provenance Actions
vs-tabletop-lite-1.0.0.tar.gz 5.0 MB Without provenance Details for vs-tabletop-lite-1.0.0.tar.gz

Release files / vs-tabletop-lite-1.0.0.tar.gz

Download URL vs-tabletop-lite-1.0.0.tar.gz
Size 5.0 MB
Tags Source
SHA-256 checksum
How to use checksums
652ad3b2bec2079cc61e7b5998e93caf9a5499983bfe55eadd7b5d313236c7cc
BLAKE2b-256 checksum
How to use checksums
1fd24d1d8c794feabde354af3689d3817550a935663ae12bf037410b7d50263c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Security for vs-tabletop-lite 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page