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

ROP pipeline prototype #7

Closed
wants to merge 13 commits into from
Closed

Conversation

arunsurya77
Copy link
Contributor

ROP pipeline prototype implementation. Implements sampling and non-linearity correction. Currently, non-linearity correction coefficients need to be supplied. Sampling code requires drsrop_clib, currently a separate repo. Documentation in drsrop_pipeline.rst (not linked)

@zonca
Copy link
Member

zonca commented Apr 26, 2019

thanks @arunsurya77 you can use git submodule https://git-scm.com/book/en/v2/Git-Tools-Submodules and add the Python and Cython code to iris_pipeline and import the C library from iris_readout

@zonca
Copy link
Member

zonca commented Jun 27, 2019

Please let me know when this is ready for review

@arunsurya77
Copy link
Contributor Author

arunsurya77 commented Jun 27, 2019 via email

@zonca
Copy link
Member

zonca commented Mar 16, 2020

@arunsurya77 I made some updates to iris_pipeline so there are some conflicts now, also make sure there are some unit tests that automatically run. I currently have some tests which are Jupyter Notebooks, I like them because they are easy to run interactively and to debug anything gone wrong, it also includes some plotting, see for example: https://github.com/oirlab/iris_pipeline/blob/master/iris_pipeline/tests/run_image2_subarray.ipynb

@arunsurya77
Copy link
Contributor Author

arunsurya77 commented Mar 18, 2020 via email

Execute the pipeline from the command line
------------------------------------------

We can use ``strun`` from a terminal to execute the pipeline:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have tmtrun

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arunsurya77 you should use tmtrun which automatically monkeypatches strun

@zonca
Copy link
Member

zonca commented May 20, 2020

@arunsurya77 what is the stage of this?
I think this should be high priority, it would help a lot to have a clearer picture of all features of iris_pipeline and improve the documentation.

@arunsurya77
Copy link
Contributor Author

Yeah I agree, sorry about the delay. I hadn't had time to work on this. I will try to fix some of the outstanding issues this week and update the rst file of this. There are some problems I am facing with the monkey patching. But I will atleast try to do push all the updates so that you can have a look.

@zonca
Copy link
Member

zonca commented Jun 10, 2020

@arunsurya77 do you confirm this code is currently working on your machine?

@arunsurya77
Copy link
Contributor Author

arunsurya77 commented Jun 10, 2020 via email

@arunsurya77
Copy link
Contributor Author

I have added most of the ROP Pipeline Skelton in this pull request. I have verified it working in another ubuntu system also. Just to give you the installation process. I have documented it in the rop_pipeline.rst file also.

requirements --
libcfitsio [ libcfitsio-bin and libcfitsio-dev (sudo apt-get install libcfitsio*)]
cython

download 'sample_ramp_new.fits<' https://figshare.com/articles/sample_ramp_new_fits/12462491> to iris_pipeline/tests/data/ and iris_pipeline/readout/tests/ .

The pytest is currently minimal which just runs the ROP pipleine on the data file. I am adding more tests and some frames from the simulator.

@zonca
Copy link
Member

zonca commented Jun 16, 2020

let's switch to #27 so I can help edit this.

@zonca zonca closed this Jun 16, 2020
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.

None yet

2 participants