Skip to content

Commit

Permalink
Directly specify fftlength in config (#318)
Browse files Browse the repository at this point in the history
* add fftlength explicitly in config

* use empty value for fftlength

* add comment

* move fftlength in review config under data conditioning
  • Loading branch information
EthanMarx authored Nov 21, 2024
1 parent 60fd134 commit 3842499
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions aframe/pipelines/sandbox/configs/base.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ batch_size = 512
prior = priors.priors.end_o3_ratesandpops

# data conditioning / preprocessing parameters

# keep empty to use the default
fftlength =
sample_rate = 2048
fduration = 1
highpass = 32
Expand Down Expand Up @@ -126,6 +129,7 @@ request_disk = 200MB
request_cpus = 1

[luigi_ExportLocal]
fftlength = &::luigi_base::fftlength
fduration = &::luigi_base::fduration
kernel_length = &::luigi_base::kernel_length
inference_sampling_rate = &::luigi_base::inference_sampling_rate
Expand Down
1 change: 1 addition & 0 deletions aframe/pipelines/sandbox/configs/bbh.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ buffer = 16

[luigi_Train]
ifos = &::luigi_base::ifos
fftlength = &::luigi_base::fftlength
kernel_length = &::luigi_base::kernel_length
sample_rate = &::luigi_base::sample_rate
highpass = &::luigi_base::highpass
Expand Down
1 change: 1 addition & 0 deletions aframe/pipelines/sandbox/configs/bns.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ buffer = 90

[luigi_Train]
ifos = &::luigi_base::ifos
fftlength = &::luigi_base::fftlength
kernel_length = &::luigi_base::kernel_length
sample_rate = &::luigi_base::sample_rate
highpass = &::luigi_base::highpass
Expand Down
4 changes: 4 additions & 0 deletions aframe/pipelines/sandbox/configs/review.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ batch_size = 512
prior = priors.priors.end_o3_ratesandpops

# data conditioning / preprocessing parameters

# keep empty to use the default
fftlength =
sample_rate = 2048
fduration = 1
highpass = 32
Expand Down Expand Up @@ -82,6 +85,7 @@ request_disk = 200MB
request_cpus = 1

[luigi_ExportLocal]
fftlength = &::luigi_base::fftlength
fduration = &::luigi_base::fduration
kernel_length = &::luigi_base::kernel_length
inference_sampling_rate = &::luigi_base::inference_sampling_rate
Expand Down
1 change: 1 addition & 0 deletions aframe/pipelines/sandbox/configs/tune.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ inherit = $AFRAME_REPO/aframe/pipelines/sandbox/configs/base.cfg
[luigi_TuneTask]
config = $AFRAME_REPO/projects/train/config.yaml
tune_config = $AFRAME_REPO/projects/train/configs/tune.yaml
fftlength = &::luigi_base::fftlength
ifos = &::luigi_base::ifos
kernel_length = &::luigi_base::kernel_length
sample_rate = &::luigi_base::sample_rate
Expand Down

0 comments on commit 3842499

Please sign in to comment.