Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mzarowka/hsitools
Hyperspectral core scanning data processing in R
https://github.com/mzarowka/hsitools
geology geosciences paleoclimate paleolimnology spatial
Last synced: 3 days ago
JSON representation
Hyperspectral core scanning data processing in R
- Host: GitHub
- URL: https://github.com/mzarowka/hsitools
- Owner: mzarowka
- License: other
- Created: 2024-01-10T20:08:49.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-10-24T23:18:35.000Z (about 2 months ago)
- Last Synced: 2024-10-25T07:34:41.211Z (about 2 months ago)
- Topics: geology, geosciences, paleoclimate, paleolimnology, spatial
- Language: R
- Homepage: https://mzarowka.github.io/HSItools/
- Size: 32.1 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# HSItools
[![R-CMD-check](https://github.com/mzarowka/HSItools/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/mzarowka/HSItools/actions/workflows/R-CMD-check.yaml)
HSItools is an R package to process and visualize hyperspectral core scanning data.
![HSItools logo](man/figures/package_logo.png){width="150"}
## Installation
You can install the development version of HSItools like so:
``` r
# install.packages("pak")# pak::pak("mzarowka/HSItools)
```## Book
An extensive tutorial is available at:
## Example
The basic workflow includes running the shiny app to choose analysis options and visually interact with the core image. After this, reflectance is calculated and all subsequent operations use reflectance or its subsets.
```{r example, include=TRUE, eval=FALSE}
library(HSItools)# Run shiny app and store results for further processing
core <- run_core()# Get reflectance, normalize the capture
reflectance <- core |>
prepare_core()# Create RGB preview and write to file
rgb_preview <- reflectance |>
stretch_raster_full(reflectance, ext = "tif", write = TRUE)# Plot RGB preview
rgb_plot <- reflectance |>
plot_raster_rgb(reflectance)
```Maurycy Żarczyński is founded by the Polish National Agency for Academic Exchange (BPN/BEK/2021/1/00133).
![NAWA logo](man/figures/nawa_logo.png){width="192"}