hytools.misc package

Submodules

hytools.misc.misc module

HyTools: Hyperspectral image processing library Copyright (C) 2021 University of Wisconsin

Authors: Adam Chlus, Zhiwei Ye, Philip Townsend.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.

hytools.misc.misc.pairwise(iterable)[source]
hytools.misc.misc.progbar(curr, total, full_progbar=100)[source]

Display progress bar.

Gist from:

https://gist.github.com/marzukr/3ca9e0a1b5881597ce0bcb7fb0adc549

Parameters
  • curr (int, float) – Current task level.

  • total (int, float) – Task level at completion.

  • full_progbar (TYPE) – Defaults to 100.

Returns

None.

hytools.misc.misc.set_brdf(hy_obj, brdf_dict)[source]
hytools.misc.misc.set_glint(hy_obj, glint_dict)[source]
hytools.misc.misc.update_brdf(hy_obj, args)[source]

Module contents

HyTools: Hyperspectral image processing library Copyright (C) 2021 University of Wisconsin

Authors: Adam Chlus, Zhiwei Ye, Philip Townsend.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.