Store the sampling PDF alongside the generated waveform samples

Open
#573 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

The idea is stated but no file is named, so start by finding where waveform samples are generated and where the source prior is currently passed in, then follow that prior into the sensitive-volume and p_astro calculations. Read the sampler and those two calculation paths together to see what a stored per-sample PDF would have to carry. Done means samples carry their PDF and the sensitive-volume and p_astro code no longer needs the prior passed in, with existing tests still passing.

Written by the indexing model from the issue text.

Description

Storing each sample's PDF would simplify the sensitive volume and p_astro calculations, obviate the need to pass the source prior, and remove the possibility of the prior moving out of sync with what was used to generate the samples.

Dominant language
Python
Stars
20
Forks
30
Avg merge
1d 11h
Merged PRs (30d)
11

Getting set up

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.

More from ML4GW/aframe

All issues in ML4GW/aframe

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.