Skip to content
This repository has been archived by the owner on Oct 1, 2023. It is now read-only.

Commit

Permalink
add ls for plots; change to make for data prep with comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Rupt committed Jul 19, 2022
1 parent 0d28d5c commit 088bb0a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ examples: example_ring_paper.log example_map_paper.log \

example_%.log: example_%.py sksym.py
python $< | tee $@
@ls -lh example_$*/*


data_%.log: data_%.py
Expand Down
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ To run all, execute:
```bash
make
```
This dumps plots into the various directories `example_*/`. \
This dumps plots into the various directories `example_*/`.

We describe each in a little more detail below.

## Experiment 1: Gappy detector
Expand All @@ -37,7 +38,7 @@ You should be able to view this on github with all figures and other outputs.

Execute the plain python version with:
```bash
python example_ring_paper.py
make example_ring_paper.log
```
This reproduces plots from the paper and dumps them into the directory `example_ring_paper/`. \

Expand All @@ -49,18 +50,21 @@ You should be able to view this on github with all figures and other outputs.

Execute the plain python version with:
```bash
python example_map_paper.py
make example_map_paper.log
```
This reproduces plots from the paper and dumps them into the directory `example_map_paper/`.

## Bonus experiments:
* `python example_ring.py`
* `make example_ring.log`
* Similar to Experiment 1, plotted in 2D, showing both real and fake (transformed) data.
* Plots dump to `example_ring/`.
* `python example_map.py`
* `make example_map.log`
* Similar to Experiment 2, with more variety in its filtering symmetry-breaking wave.
* Plots dump to `example_map/`.
* `python example_step.py`
* `make example_step.log`
* A minimal example testing translation symmetry on the unit interval.
* Uses rejection sampling for fakes.
* Plots dump to `example_step/`.

These `make` commands run corresponding `example_*.py` scripts
after ensuring that input data are prepared.

0 comments on commit 088bb0a

Please sign in to comment.