question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MAINT deprecate `self.average` 1D

See original GitHub issue

in preparation for the JTFS and 0.4 we could deprecate average in Scattering1D.

While reusing the 1D frontend for frequency scattering it came to our attention that we could utilize T to define the semantics of frequential averaging. This would evade introduction of an additional attribute F. Moreover, T could potentially cover the semantics of averaging, allowing for removal of average:

  • T=None will perform default mode averaging, i.e. T=2^J
  • T=0 will correspond to average=False
  • Any other integer T will stride over the specified support

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
jandencommented, Jun 20, 2022

We should also think about what this implies for 2D. Right now, we don’t have an equivalent for T there but this may change.

1reaction
lostanlencommented, Jun 17, 2022

I think it’s necessary to have an F parameter in the JTFS frontend, but this can be passed to the Scattering1D frontend for frequential averaging as T?

F will be passed as T to the frequential scattering_filter_factory, yes. But there won’t be a Scattering1D object for frequential scattering, because @eickenberg doesn’t want objects inside other objects. Rather, the JTFS object will inherit and extend from time Scattering1D.

Read more comments on GitHub >

github_iconTop Results From Across the Web

26 CFR § 1.263A-1 - Uniform capitalization of costs.
Costs that are capitalized under section 263A are recovered through depreciation, amortization, cost of goods sold, or by an adjustment to basis at...
Read more >
Monitoring settings in Elasticsearch - Elastic
Monitoring settings in Elasticsearchedit. Deprecated in 7.16. Using the Elasticsearch Monitoring plugin to collect and ship monitoring data is deprecated.
Read more >
How to calculate rolling / moving average using python + ...
For a moving average with a window of length 2 we would have: ... import numpy as np class RunningAverage(): def __init__(self, ...
Read more >
Self-Deprecation: Meaning, Examples, & How to Stop
Speer, self-deprecation is defined as “a form of self-talk that reflects a cognitive state, such as low self-esteem or negative self-regard” (2019).
Read more >
AC 25.981-1D - Advisory Circular
The objective of this AC is to provide guidance that addresses the prevention of possible sources of ignition in airplane fuel tanks in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found