delete.spectra.h5: delete a couple of spectra in a h5 file

delete.spectra.h5R Documentation

delete a couple of spectra in a h5 file

Description

sometimes, an experience is stopped brutaly. The last spectra is corrupted. The file can be reading by the import.h5() function. info.h5 and delete.spectra.h5() can be used for resolving the problem.

Usage

delete.spectra.h5(ID_h5 = 1, num = 1, w_d = getwd())

Arguments

ID_h5

the ID give by info.h5()

num

the number correspoding at the spectra corrupted

w_d

working directory

Value

a modifiy h5 file.

Examples

# Use the info.h5() function before use that. And read the help for understand why
# we deleted the spectra number 176 of ID6.

# delete.spectra.h5(6,176)

# After that, you have a new h5 file (mod_A3_40.h5). You can exhile the original file.

JHuguenin/provoc documentation built on Jan. 29, 2024, 12:39 a.m.