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.6.tar.gz (120.4 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.6-py3-none-any.whl (137.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openstarlab_spaceeval-0.0.6.tar.gz
  • Upload date:
  • Size: 120.4 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.6.tar.gz
Algorithm Hash digest
SHA256 1c06d92b46480a1822a7deefef363a656d2b3594a068f56cdc9a28002fa633ae
MD5 b2fa0abd43b6be4eb5f3ba8d0dd08fb6
BLAKE2b-256 a7092e91d45f1d48d6cff21e2aee5a2e7593c55c82d91896c96f805663c7b87f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for openstarlab_spaceeval-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 229aa862748a9242bf65521dd0d795f048bf09e03de3b3a4e1ddee299eac1216
MD5 31c1f72e6ab42d4e9dc58cdf2fa7c8a1
BLAKE2b-256 8922e0c56b14a51b18c13ed1c3bfad31370d275c203b07eb05ffebd5989cac07

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