Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add emission event example, and add lifetime to state from fpbase, test examples #34

Merged
merged 2 commits into from
May 19, 2024

Conversation

tlambert03
Copy link
Owner

@tlambert03 tlambert03 commented May 19, 2024

this adds the code I put in #33 (comment) into an example, so we don't lose it, until it gets integrated. And also pulls lifetime from fpbase

this also adds a test_examples test to make sure that all examples are still runnable

Copy link

codecov bot commented May 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.31%. Comparing base (14dc07f) to head (1dc77f2).

Current head 1dc77f2 differs from pull request most recent head 8b50bb5

Please upload reports for the commit 8b50bb5 to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #34      +/-   ##
==========================================
+ Coverage   79.30%   79.31%   +0.01%     
==========================================
  Files          38       38              
  Lines        1696     1697       +1     
==========================================
+ Hits         1345     1346       +1     
  Misses        351      351              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tlambert03 tlambert03 changed the title feat: add emission event example, and add lifetime to state from fpbase feat: add emission event example, and add lifetime to state from fpbase, test examples May 19, 2024
@ashesh-0 ashesh-0 merged commit 88a1e49 into main May 19, 2024
5 of 15 checks passed
@ashesh-0 ashesh-0 deleted the example branch May 19, 2024 18:07
ashesh-0 added a commit to ashesh-0/microsim that referenced this pull request May 19, 2024
tlambert03 added a commit that referenced this pull request Jun 16, 2024
* added TODO comments

* interval creation+stochastic excitation model

* comment update

* interval creation made disjoint with 1 test

* style(pre-commit.ci): auto fixes [...]

* fix in test+ comment updates

* style(pre-commit.ci): auto fixes [...]

* changes made inspired from the discussion at #34

* renamed spectrum to avoid conflict

* style(pre-commit.ci): auto fixes [...]

* replaced Interval class with a function

* style(pre-commit.ci): auto fixes [...]

* fixing the peak_wavelength attribute logic

* style(pre-commit.ci): auto fixes [...]

* fixing type errors

* line length <88

* serializable numpy

* remove serializable_numpy.py

* bin based setup now working

* bin based setup now working

* rough changes to make it work

* multi channel confocal example

* removed duplicated spectrum() function

* emission flux. WIP for optical image

* multi-fluorophore setup code running

* style(pre-commit.ci): auto fixes [...]

* multi-fluorophore setup code running

* style(pre-commit.ci): auto fixes [...]

* removed comments

* removed a fn

* removed a fn

* style(pre-commit.ci): auto fixes [...]

* undo channel_idx removal

* merge results in run

* a number of suggestions

* minor refactoring

* minor refactoring

* refactoring

* making tests work

* typing improvements

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Talley Lambert <talley.lambert@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants