desihub / desihub/specsim

Support parallel simulation of multiple sources

Open
#6 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
5
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Use the power of numpy advanced indexing and broadcasting to allow an arbitrary array of input sources to be simulated in parallel, with minimal changes to the code. This is presumably useful for simulating the observation of an entire field of targets, and eliminates the overhead of looping over each target. The existing mode of simulating a single 1D input SED should still work without any change to user code.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing single 1D input SED simulation entry point and its tests. Check how NumPy advanced indexing and broadcasting can accept arbitrary source arrays while preserving the current user-facing call, then verify both single-source and parallel-source behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.