astropy / astropy/specutils

Add equality checks to core classes

Open
#830 0 comments 0 reactions 0 assignees View on GitHub
testing
Dominant language
Python
Stars
204
Forks
134
Avg merge
12h 55m
Merged PRs (30d)
1

Description

Related to https://github.com/astropy/astropy/issues/11648.

Currently there are no equality checks for `Spectrum1D`, `SpectrumList` or `SpectrumCollection`, it would be good to add them to make testing roundtripping of loaders and writers easier.

Contributor guide

Open the contributing guide

Research direction

Locate the definitions of Spectrum1D, SpectrumList, and SpectrumCollection, then inspect existing loader and writer roundtrip tests. Determine how equality should support those tests; done means the three core classes can be compared reliably for roundtripping without changing the requested scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.