Skip to main content

openstarlab space eval package

Project description

OpenSTARLab SpaceEval package

Documentation Status dm ArXiv Discord

Introduction

The OpenSTARLab SpaceEval package is designed to provide simple and efficient way to visualize and estimate space evaluation for different sports. This package supports the data preprocessed by the OpenSTARLab PreProcessing package.

This package is continuously evolving to support future OpenSTARLab projects. If you have any suggestions or encounter any bugs, please feel free to open an issue.

Installation

  • To install this package via PyPI
pip install openstarlab-spaceEval
  • To install manually
git clone git@github.com:open-starlab/spaceEval.git
cd ./spaceEval
pip install -e .
Class Method for Basketball data

Class Method for Basketball data

  • To have the values of probability for all the court (input = one or more line of dataframe, output = .json)
.get_values(data, json_path=None)
  • To visualize specific frame (input = one line of dataframe, output = .png)
.plot_heat_map_frame(data, save_path_folder,
                     include_player_velocities = True, BID=True, colorbar = True, title=True)
  • To visualize specific sequence, (input = more than one line of dataframe output = .mp4)
plot_heat_map_sequence(data, save_path_folder,
                       heatmap=True, EVENT=True, JERSEY=True, BID=False, axis=False, title=True)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openstarlab_spaceeval-0.0.2.tar.gz (41.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openstarlab_spaceeval-0.0.2-py3-none-any.whl (53.8 kB view details)

Uploaded Python 3

File details

Details for the file openstarlab_spaceeval-0.0.2.tar.gz.

File metadata

  • Download URL: openstarlab_spaceeval-0.0.2.tar.gz
  • Upload date:
  • Size: 41.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for openstarlab_spaceeval-0.0.2.tar.gz
Algorithm Hash digest
SHA256 70dbb1573f6dc0bc8353207f215e6562fe106f905a99a3e9f9cda615cd325719
MD5 3de3333a74c47cb2dc054583b2aea48d
BLAKE2b-256 cd3d2144efe14d0187e927291484d688583d51fb472af561db346de71bcfb878

See more details on using hashes here.

File details

Details for the file openstarlab_spaceeval-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for openstarlab_spaceeval-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8cfd92bfaa8c1af77e5e3d014c86f63b59a2809812671690ade10dcb617096ed
MD5 dc4a161dc64148435cde3654e1cf97a8
BLAKE2b-256 ea44b100571b14c3350f83819fc63f92c889ec722714cca1db8e0022a0a45192

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page