You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cooltools, pairtools, and polykit all need smoothing of contacts vs. distance but shouldn't be each other's dependencies.
each repository might have different desired presets for column names
design questions:
-- operate on numpy arrays or some dataFrame with sensible present column names.
-- argument in favor of operating on dataFrames: There is shared boilerplate for smoothing data in a DataFrame.
The text was updated successfully, but these errors were encountered:
i wonder if we could consider expanding this proposal to migrate all application-agnostic numerical procedures (i.e. https://github.com/open2c/cooltools/blob/master/cooltools/lib/numutils.py ) into a separate library.
Ofc, I know that we went through many iterations of such a library and there've been times when we though that it's messy and undesirable. However, I think, we can make this library clean and tidy if it were to contain only generic numeric routines and not library-specific codes. Thoughts?..
I am not super keen on a "library" that is a random collection of unrelated functions... But we can discuss how it could make sense, i.e. for functions that are actually useful across other libraries, or if they use each other, or something like that...
proposal:
migrate log-smoothing code to a mini repository.
cooltools/cooltools/sandbox/expected_smoothing.py
Line 81 in 0a7c01f
why?
design questions:
-- operate on numpy arrays or some dataFrame with sensible present column names.
-- argument in favor of operating on dataFrames: There is shared boilerplate for smoothing data in a DataFrame.
The text was updated successfully, but these errors were encountered: