allen-cell-animated / website-3d-cell-viewer

Other
4 stars 4 forks source link

refactor: can we pre-set channel state from props? #266

Open toloudis opened 1 month ago

toloudis commented 1 month ago

Use Case

Currently props used to set up channel state need to wait around until channel data arrives

Solution

We could initialize channel state much earlier ... except for LUT which may require channel data to be histogrammed before it can be set up. There still may be a way to preserve LUT info as state anyway, but it will have to be in an "encoded" state and then "decoded" when channel data is present..

Related as possible follow-up to #262