general core-shell model

Aperta
#696 1 commento 0 reazioni 2 assegnatari Vedi su GitHub

@sara-mokhtari ci sta già lavorando.

Dal 4/2/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

SasModels Infrastructure

We are currently dealing with faceted nanoparticles containing some seed inside.

Both the seed and the whole particle are polyhedrons, as represented here:

Image

Interestingly, the seed center is sometimes shifted from the center of the overall particle.
And SLDs are different in the core and in the shell regions.

So I'm wondering if writing a general core-shell model would be useful ?
It would apply to any kind of core-shell object and call any two already existing models, one for the core, and a second one for the whole particle.

So, instead or rewriting a core-shell version for any combination of interest, we could use a general model.
And it might be easier to do it this way.

It would combine the form factor amplitudes (Fqabc_in(qa,qb,qc) and Fqabc_out(qa,qb,qc)) together.
With the appropriate SLD combinations as usual.

Plus the possibility to shift the origins of the two shapes and to rotate them from each other to match the description of the core-shell particle.

The implementation might be something similar to the sum of two models, but adding amplitudes and not intensities.

Lingua principale
Python
Stelle
23
Fork
32
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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.