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.9.tar.gz (7.0 MB 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.9-py3-none-any.whl (7.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openstarlab_spaceeval-0.0.9.tar.gz
  • Upload date:
  • Size: 7.0 MB
  • 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.9.tar.gz
Algorithm Hash digest
SHA256 c441590e487f2a9f2d86a4faf09de6fa5653511f5571a37d3f201a5bdffa7ba1
MD5 f63d7011bb909e7c2a221e9a53b05123
BLAKE2b-256 8dfa6d3be5de6609af36f66749e25d1211b07da152844e06c84b61e2bc9caede

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for openstarlab_spaceeval-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7bd5971fb964d25a63da2efe3bb3764154a606dc03caadf7934aac2338ddd5b2
MD5 28fea106eb2da3de683e45579147699e
BLAKE2b-256 d79af93d1ea5a4469077dcae1268aabfe40a80132af3fbf391151539bf05506c

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