astropy / astropy/astroplan

Confirm vectorised constraint usage

Open
#487 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
225
Forks
121
Avg merge
28m
Merged PRs (30d)
1

Description

(wtgee: Adding this comment from a stale (closed) issue):

I believe so, although we should probably open a separate, but related, issue, since at the moment I think you can actually create a ```Constraint``` with a vectorised list of constraints quite happily, but I'm not sure it broadcasts sensibly when used...

_Originally posted by @StuartLittlefair in https://github.com/astropy/astroplan/issues/189#issuecomment-550435883_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Constraint implementation and its existing tests, then inspect how vectorised lists of constraints are accepted and broadcast. Verify the behavior described in the issue and add or update coverage so the expected vectorised usage is explicit.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.