Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Allow structure factor models without volfraction or radius_effective

Aperta
#720 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start with sasmodels/product.py and trace the P@S validation that requires structure-factor models to define radius_effective and volfraction. Check how those parameters are used for radius transfer and effective volume-fraction calculation, including polydispersity. Done means structure-factor models without either parameter can be used without breaking cases that do provide them.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

SasModels Infrastructure SasView coordination

As noted in https://github.com/SasView/sasmodels/issues/719#issuecomment-4286936628, the aggregation structure factors are different from those from liquid state theory and volume fraction is an irrelevant parameter.

For structure factor calculations, the P@S form checks that all structure factor models have radius_effective and volfraction parameters. This is because the structure factor calculation can transmit average radius of the particle to the radius_effective parameter of the structure factor (use radius_effective_mode != 0). Similarly, for hollow models like vesicle` the volume fraction of the enclosed volume is larger than the volume fraction of the shell. Computing the effective volume fraction also requires an average over the polydispersity.

We need to modify sasmodels/product.py to allow structure factor models with optional radius_effective and volfraction.

Lingua principale
Python
Stelle
23
Fork
32
Merge medio
7g 20h
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SasView/sasmodels

Tutte le issue di SasView/sasmodels

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.