add_Filter: Function to add a filter to a stack

Description Usage Arguments Author(s) Examples

Description

This function adds a filter to a stack

Usage

1
add_Filter(object, filter)

Arguments

object

FilterStack from which the filter has to be added

filter

Filter that has to be added

Author(s)

David Strebler, University of Cologne (Germany).

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#create filters
filter1 <- default_Filters('example')[[1]]
filter2 <- default_Filters('example2')[[1]]

#Create filterStack
name <- "example"
description <- "non realistic filterStack"

filters <- list(filter1)
filterStack <- create_FilterStack(name, description, filters)

plot_FilterStack(filterStack)

#add_Filter
filterStack <- add_Filter(filterStack, filter2)

plot_FilterStack(filterStack)

dstreble/LumReader documentation built on May 15, 2019, 4:50 p.m.