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
{{ message }}
Repository navigation
discussion: should the package be renamed to avoid ambiguity? #183
"sNMF" is already in use as an identifier for a technique called "sparse non-negative matrix factorization"
Uptake of this older sNMF does not seem to be high, but there are a few sources for it, including papers as recent as 2022, and it's the current top result for the term on search engines and chatbots.
Proposed solution
There are two potential solutions. One is to bet that sparse NMF will not gain much further traction and that we will become the dominant program associated with the acronym or that they will coexist, like PDF already does with the PDF file format
The other option would be to formally rename the package something like stretched-nmf, which is the primary term used in the original stretched NMF paper. One pro of this is that it would be clearer from just the name what the package does. Only major con is that it's less elegant.
After thinking more, I feel positively about calling it stretched-nmf. The biggest obstacle (and this may be a killer) is that the original paper has a presumably unchangeable link to this github repo called diffpy.snmf, but maybe github alias that if you change the name. Not sure how that works.
we can keep the repo and point to the new one if GitHub doesn't do it automatically. I think I agree, that stretched-nmf is less ambiguous and could snag a larger audience. Please could you make a list of things we have to do to make this happen. I can change the name of the repo, and change its URL (I prefer to do this to avoid problems in the future). What else?
Is diffpy.stretched-nmf an okay name? No other diffpy projects have a dash currently.
I prefer the dash, so let's go with it. scikit-package has a dash, so we have gradually been moving over to this new standard, but not gone back.
Should the documentation/examples internally use "snmf" to avoid repetition like numpy -> np, or are we dispensing with the short form entirely?
Yes, I would maybe import diffpy.stretched_nmf as snmf or sthg like that. There is advertising (making it discoverable on PyPi) and ease of use. By the time we are importing it we know what it does and don't need to be reminded.
It looks like the rename also updates the URL automatically these days (I don't remember it doing that before) so that is all done and I checked it off. It has broken the link though, the old one doesn't seem to resolve to the new one, so please think about how to fix that.
Maybe it just took a minute to update, but the old link works fine for me now. Hopefully that is a permanent redirect and if not, the fix should be as simple as making a new repo called diffpy.snmf. But let’s not do that unless it breaks in the future.
Activity
john-halloran commentedon Feb 10, 2026
After thinking more, I feel positively about calling it
stretched-nmf. The biggest obstacle (and this may be a killer) is that the original paper has a presumably unchangeable link to this github repo calleddiffpy.snmf, but maybe github alias that if you change the name. Not sure how that works.sbillinge commentedon Feb 10, 2026
we can keep the repo and point to the new one if GitHub doesn't do it automatically. I think I agree, that
stretched-nmfis less ambiguous and could snag a larger audience. Please could you make a list of things we have to do to make this happen. I can change the name of the repo, and change its URL (I prefer to do this to avoid problems in the future). What else?john-halloran commentedon Feb 10, 2026
snmf->stretched-nmfsnmf->stretched-nmfQuestions for you:
diffpy.stretched-nmfan okay name? No other diffpy projects have a dash currently.numpy->np, or are we dispensing with the short form entirely?sbillinge commentedon Feb 10, 2026
I prefer the dash, so let's go with it.
scikit-packagehas a dash, so we have gradually been moving over to this new standard, but not gone back.Yes, I would maybe
import diffpy.stretched_nmf as snmfor sthg like that. There is advertising (making it discoverable on PyPi) and ease of use. By the time we are importing it we know what it does and don't need to be reminded.sbillinge commentedon Feb 10, 2026
It looks like the rename also updates the URL automatically these days (I don't remember it doing that before) so that is all done and I checked it off. It has broken the link though, the old one doesn't seem to resolve to the new one, so please think about how to fix that.
john-halloran commentedon Feb 10, 2026
Maybe it just took a minute to update, but the old link works fine for me now. Hopefully that is a permanent redirect and if not, the fix should be as simple as making a new repo called
diffpy.snmf. But let’s not do that unless it breaks in the future.sbillinge commentedon Feb 10, 2026
yes, the redirect is working for me too now. Very nice. Thanks GitHub.
john-halloran commentedon Feb 18, 2026
Closed by #185.