Skip to content

temporal_filter: add median filter from scipy#943

Merged
yunjunz merged 2 commits intoinsarlab:mainfrom
yunjunz:filter
Jan 1, 2023
Merged

temporal_filter: add median filter from scipy#943
yunjunz merged 2 commits intoinsarlab:mainfrom
yunjunz:filter

Conversation

@yunjunz
Copy link
Member

@yunjunz yunjunz commented Jan 1, 2023

Description of proposed changes

  • cli.temporal_filter:

    • add -f option to specify the filter type
    • change the default filter from gaussian to median
  • objects.stack.timeseries.temporal_filter():

    • add filter_type argument
    • support median filter via scipy.ndimage.median_filter()
    • more informative default output file name
  • various codacy issue fixes.

Reminders

  • Pass Pre-commit check (green)
  • Pass Codacy code review (green)
  • Pass Circle CI test (green)
  • Make sure that your code follows our style. Use the other functions/files as a basis.
  • If adding new functionality, add a detailed description to the documentation and/or an example.

+ fix various codacy detected issues
+ bugfix in tsview legend for multiple input files
+ delete the unused legacy/los2enu.py
+ cli.temporal_filter:
   - add -f option to specify the filter type
   - change the default filter from gaussian to median

+ objects.stack.timeseries.temporal_filter():
   - add `filter_type` argument
   - support median filter via scipy.ndimage.median_filter()
   - more informative default output file name

+ minor message/comment update in cli.prep_isce.py and utils.utils1.add_attribute()
@yunjunz yunjunz merged commit cc27078 into insarlab:main Jan 1, 2023
@yunjunz yunjunz deleted the filter branch January 1, 2023 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant