Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

temporal_filter: add median filter from scipy #943

Merged
merged 2 commits into from
Jan 1, 2023
Merged

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