scikit-hep / scikit-hep/vector

Constructing a vector from spherical coordinates

Open
#122 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Python
Stars
99
Forks
42
Avg merge
1d 13h
Merged PRs (30d)
6

Description

The README says vectors can be represented in spherical coordinates. It's true that you can get spherical coordinates out, but I don't think this is actually implemented for constructing vectors. That is, you can't pass a three-vector magnitude into a constructor.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the spherical-coordinate statement in README and inspect the existing vector construction entry points to determine how coordinate inputs are handled. Confirm the expected representation and constructor behavior from nearby implementation and tests. Done means vectors can be constructed from a three-value spherical-coordinate input as described, with coverage for that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.