https://github.com/sunpy/solarbextrapolation/tree/master/examples
--
You received this message because you are subscribed to the Google Groups "SunPy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sunpy+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sunpy/35343bd2-8352-4bb6-919e-398cd7743ea9o%40googlegroups.com.
Hi Mohamed,Thanks for the feedback, it's always helpful to find out what is and isn't obvious to others! To answer your questions:1. alr, als, alp are more implementation details as opposed to useful user facing variables. I'll hide the al property from the docs to avoid this confusion in future. bc and bg are the magnetic field values that are calculated by the solver. bc is the magnetic field on the centers of the solution grid faces, and bg is the magnetic field on the corners of the grid.2. I think I changed this recently to remove ghost cells, and make each one of these have the same size - if you update pfsspy to the latest version are they still different shapes? The numbers index the different dimensions (phi, s, r) in the computed solution. You can get the physical locations of each point in the array using the Input.grid attribute: thttps://pfsspy.readthedocs.io/en/stable/api/pfsspy.Grid.html#pfsspy.Grid.3. Variables/properties with an underscore are generally considered 'private' or not user facing in python, so I wouldn't recommend using these.4. I don't think flines has a field_lines property, so I'm confused by this? The open_field_lines and closed_field_lines properties store the subset of field lines within the original flines object that are open/closed respectively.5. To get the coordinates of each field line, you can do fline.coords, which will return an astropy coordinates object. There is more information on how to use those here: https://docs.astropy.org/en/stable/coordinates/index.html. It is currently not possible to get B(x, y, z) along a field line; if this is functionality you would be interested in, then please do open an issue at https://github.com/dstansby/pfsspy/issues.I hope that helps? If anything is unclear or you have more questions let me know!Cheers,David
On Sat, 13 Jun 2020 at 06:19, Mohamed Nedal <mohamed....@gmail.com> wrote:
Hi, I intend to use the PFSS package in a paper and I would like to understand it. I would appreciate if you could help me with the following questions.--
In the example code "Overplotting field lines on AIA maps" (https://pfsspy.readthedocs.io/en/stable/auto_examples/using_pfsspy/plot_aia_overplotting.html#sphx-glr-auto-examples-using-pfsspy-plot-aia-overplotting-py):
1. The "output" object, which contains the PFSS solution, has these parameters (alr, als, alp, al, bc, bg). I don't really understand what they actually refer to. I looked into the documentation here (https://pfsspy.readthedocs.io/en/stable/api/pfsspy.Output.html#pfsspy.Output.bc), but I didn't get their meaning and how we can use them afterwards.2. "bc" is a tuple with three elements; the size of bc[0] is (360,180,26); the size of bc[1] is (360,181,25); and the size of bc[2] is (361,180,25); What are these numbers?3. In the "fline" object, What do the following three paths mean (fline._x, fline._y, fline._z)?4. In the "flines" object:4.1. Does this path "flines.field_lines" refer to the number of the created field lines?4.2. Does this path "flines.open_field_lines" refer to the number of open field lines?4.3. Does this path "flines.closed_field_lines" refer to the number of closed field lines?5. How can I extract B(x, y, z) and the coordinates (lat, lon, height) for each field line?Thank you very much for your time and I'm looking forward to your answers.
On Tuesday, August 23, 2016 at 12:57:27 PM UTC+2, Mayur Ingale wrote:PFSS (Potential Field Source Surface) model takes synoptic magnetogram with source surface (typically 2.5 Radius of Sun) and returns the 3D magnetic field, so called hairy ball Sun. This package is available with SSW-IDL. Is there similar package available with Python (Sunpy) ?
You received this message because you are subscribed to the Google Groups "SunPy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to su...@googlegroups.com.