Skip to content

Commit 84ec6cb

Browse files
committed
doc improvements
1 parent 272d0e7 commit 84ec6cb

File tree

7 files changed

+24
-20
lines changed

7 files changed

+24
-20
lines changed

docs/index.qmd

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,14 @@ Version-specific documentation builds are attached to the [release pages](https:
1313

1414
DASCore is a Python library for distributed acoustic sensing (DAS). It provides:
1515

16-
1. IO support for various DAS data formats
16+
1. IO support for [many DAS data formats](supported_formats.qmd)
1717
2. Common processing routines
1818
3. Basic visualizations
1919

2020
:::{.callout-note}
21-
DASCore is a foundational package of the [DAS Data Analysis Ecosystem (DASDAE)](https://dasdae.org). It facilitates rapid development of other DASDAE packages that do more specialized analysis/visualization.
21+
DASCore is part of the [DAS Data Analysis Ecosystem (DASDAE)](https://dasdae.org).
2222
:::
2323

24-
# Supported file formats
25-
```{python}
26-
#| echo: false
27-
#| output: asis
28-
import pandas as pd
29-
from dascore.io.core import FiberIO
30-
out_str = FiberIO.get_supported_io_table().replace(True, value='✅').replace(False, value='❌').to_markdown(index=False, stralign="center")
31-
32-
out_str += '\n: {.striped}'
33-
print(out_str)
34-
```
35-
3624
# Introductory usage
3725

3826
## Read a file

docs/notes/dft_notes.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ Patch methods [dft](`dascore.transform.fourier.dft`) and [idft](`dascore.transfo
265265
266266
## Useful Resources
267267
268-
[Sclaing of DFT](https://appliedacousticschalmers.github.io/scaling-of-the-dft/AES2020_eBrief/): Concise overview of the DFT and its properties compared to the CFT.
268+
[Scaling of DFT](https://appliedacousticschalmers.github.io/scaling-of-the-dft/AES2020_eBrief/): Concise overview of the DFT and its properties compared to the CFT.
269269
270270
[xrft](https://xrft.readthedocs.io/en/latest/index.html): A very useful resource for DASCore's implementation.
271271

docs/recipes/contributing_to_documentation.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ quarto preview docs
3737
```
3838

3939
:::{.note}
40-
This will take a few minutes the first time you run it. After that, the results are cached on only the changed files are re-rendered.
40+
This will take a few minutes the first time you run it. After that, the results are cached and only the changed files are re-rendered.
4141
:::
4242

4343
Now, you can make new documentation or make changes to the "index.qmd" file on the /dascore/docs/ directory and so on.

docs/supported_formats.qmd

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: Supported File Formats
3+
execute:
4+
warning: false
5+
---
6+
7+
```{python}
8+
#| echo: false
9+
#| output: asis
10+
import pandas as pd
11+
from dascore.io.core import FiberIO
12+
out_str = FiberIO.get_supported_io_table().replace(True, value='✅').replace(False, value='❌').to_markdown(index=False, stralign="center")
13+
14+
out_str += '\n: {.striped}'
15+
print(out_str)
16+
```

docs/tutorial/patch.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ array[:10] = 12 # then this works
132132

133133
## Coords
134134

135-
DASCore implements a class called [CoordManager](`dascore.core.coordmanager.CoordManager`) which managers dimension names, coordinate labels, selecting, sorting, etc. `CoordManager` has several convenience methods for accessing contained information:
135+
DASCore implements a class called [CoordManager](`dascore.core.coordmanager.CoordManager`) which manages dimension names, coordinate labels, selecting, sorting, etc. `CoordManager` has several convenience methods for accessing contained information:
136136

137137
```{python}
138138
import dascore as dc

docs/tutorial/processing.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ smoothed = patch.rolling(time=50*dt).mean()
168168
smoothed.viz.waterfall(scale=.1);
169169
```
170170

171-
Notice the nan values at the start of the time axis. These can be trimmed with [`Patch`.dropna](`dascore.Patch.dropna`).
171+
Notice the nan values at the start of the time axis. These can be trimmed with [`Patch.dropna`](`dascore.Patch.dropna`).
172172

173173

174174
# Whiten
@@ -271,7 +271,7 @@ white_patch = patch.whiten(smooth_size=2, time=(10, 20, 80, 90))
271271
_ = plot_time_and_frequency(white_patch)
272272
```
273273

274-
`Whiten` also accepts patches in the frequency domain, in which case a frequency patches are returned. This might be useful if whiten is only a part of a frequency domain workflow.
274+
`Whiten` also accepts patches in the frequency domain, in which case frequency patches are returned. This might be useful if whiten is only a part of a frequency domain workflow.
275275

276276
```{python}
277277
fft_patch = patch.dft("time", real=True)

docs/tutorial/visualization.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ patch = dc.get_example_patch('example_event_2')
1919
patch.viz.waterfall(show=True, scale=(-50,50))
2020
```
2121

22-
## wiggle
22+
## Wiggle
2323
The [`wiggle patch function`](`dascore.viz.wiggle`) creates a wiggle plot of the patch data. We'll use the same patch as above to model this function.
2424

2525
```{python}

0 commit comments

Comments
 (0)