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

STARA Sunspot detection #37

Open
Cadair opened this issue Aug 7, 2019 · 13 comments
Open

STARA Sunspot detection #37

Cadair opened this issue Aug 7, 2019 · 13 comments

Comments

@Cadair
Copy link
Member

Cadair commented Aug 7, 2019

Been speaking to @fraserwatson about reimplementing this code in Python, for a quick overview see http://hmi.stanford.edu/hminuggets/?p=981

More links to follow as we extract them.

@fraserwatson
Copy link

Agreed, the methodology I used is in pages 19-45 of http://theses.gla.ac.uk/3429/1/2012watsonphd.pdf. I have been threatening to rewrite it all in Python in the years since...

@abhijeetmanhas
Copy link

I want to work on this issue. I went through the thesis pages mentioned, it contains some formulas relating magnetic field strength and magnetic pressure, and states

sunspots will not form unless the local magnetic field strength is greater than around 1500 Gauss

I can model all mentioned equation in python.

But I need help to get started with it, like which file or class need to have these functions and what exactly have to be done. Do we have to give results like this will be probability of sunspot given these conditions or use algorithm to tell whether they are present there or not.

@nabobalis
Copy link
Contributor

In terms of what files or classes, there is no current place for those equations so just create a new file and write whatever functions and classes you need. We can move them around latter.

What needs implementing I hope that @fraserwatson can expand upon.

@Cadair
Copy link
Member Author

Cadair commented Dec 1, 2019

I have a reasonably complete implementation of this algorithm here: https://github.com/Cadair/sunspot_experiments/blob/master/stara.py

I believe @wtbarnes is doing some large scale tests of it on HMI data. It would be a great first contribution to get it cleaned up and incorporated in here.

@alegrand
Copy link

Hi,

Is there any news on this topic ? I would be interested in using this code for a lecture on reproducible research with some colleagues. @fraserwatson, is the original matlab code available somewhere ? @Cadair 's code looks super simple as it builds on a huge set of libraries but it's difficult for me to know how faithful to the original STARA algorithm it is. Last, did @wtbarnes finally test it on HMI data ?
Thanks for your help.

@nabobalis
Copy link
Contributor

As far as I am aware, there has been no news or progress on this.

@wtbarnes
Copy link
Member

I actually did apply this to the HMI catalogue (sampled at 1 day) using @Cadair's implementation in this notebook: https://gitlab.com/wtbarnes/aia-on-pleiades/-/blob/master/notebooks/tidy/finding_sunspots.ipynb. There is a lot of other stuff going on there, but you may find it useful. As to how it compares to the original implementation, I am not sure.

@fraserwatson
Copy link

I do have the original Matlab code that I can give you if you want to look through it. And I can also confirm that the implementation we put into sunkit-image copies the algorithm exactly.

@nabobalis
Copy link
Contributor

Did I forget that we added this to sunkit-image?

@fraserwatson
Copy link

No, could be that it never got added.

@alegrand
Copy link

Thanks a lot to all of you for your feedback. I'll carefully check the notebook from @wtbarnes that looks very similar to everything I had in mind for the lecture!

@manta103g
Copy link

Dear @fraserwatson,
Dear All,

let me know what is a chance to get some and selected images of solar disc from @nasa, analysed by STARA Sunspot Detection application and algorithm, to get to know your definition of a single sunspot or a single group of sunspots against visual inspection of the same images of solar disk by a human.

thank you

darius

1 similar comment
@manta103g
Copy link

Dear @fraserwatson,
Dear All,

let me know what is a chance to get some and selected images of solar disc from @nasa, analysed by STARA Sunspot Detection application and algorithm, to get to know your definition of a single sunspot or a single group of sunspots against visual inspection of the same images of solar disk by a human.

thank you

darius

@Deus1704 Deus1704 mentioned this issue Mar 31, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants