Python Forum
Detecting Solar Radio Burst Using Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Detecting Solar Radio Burst Using Python
#1
I need to detect solar radio bursts using python. The spectograms are in .fits file. Cansmash kartsanyone help me to brainstorm the methodology to do this? As far as I know, firstly I need to do preprocessing image which consist of background subtraction and noise cancellation. Then, I need to build an algorithm that can detect the burst in the image. But how???
Reply
#2
see what's available in PyPi, here.
Reply
#3
This doesn't sound like a Python question. What kind of image processing do you want to perform? What kind of detection algorithm? A quick google of "detect solar radio burst" pulls up a lot of fairly recent papers, many which reference machine learning.

Can you provide more information about what kind of processing you want to perform with your data, and then maybe we can suggest python packages that would be a good fit.
Reply
#4
Hello, I need some assistance with some coding and I'm attempting to get a game to run in full screen mode. However, it's now small and in the center of the screen.
import os, pygame


#Define display class
class pyscope :
    
    screen = None
    pySurface = None
    
    def __init__(self):
        
        "Initializes a new pygame screen using the framebuffer"
        # Based on "Python GUI in Linux frame buffer"
        # http://www.karoltomala.com/blog/?p=679
        disp_no = os.getenv("DISPLAY")
        
        # Check which frame buffer drivers are available
        # Start with fbcon since directfb hangs with composite output
        drivers = ['fbcon', 'directfb', 'svgalib']
        found = False
        for driver in drivers:
            # Make sure that SDL_VIDEODRIVER is set
            if not os.getenv('SDL_VIDEODRIVER'):
                os.putenv('SDL_VIDEODRIVER', driver)
            try:
                pygame.display.init()
            except pygame.error:
                print('Driver: {0} failed.'.format(driver))
                continue
            found = True
            break
    
        if not found:
            raise Exception('No suitable video driver found!')
        size = (pygame.display.Info().current_w, pygame.display.Info().current_h)
        flags = pygame.DOUBLEBUF | pygame.HWSURFACE | pygame.FULLSCREEN
        self.screen = pygame.display.set_mode(size, flags)
        surface = pygame.Surface((320,240),pygame.FULLSCREEN)
        pygame.display.set_mode((320,240),pygame.FULLSCREEN)
        self.pySurface = surface.convert()
        # Initialise font support
        pygame.font.init()
 
    def __del__(self):
        "Destructor to make sure pygame shuts down, etc."
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PyGame: detecting key press, but not key qrani 2 4,024 Sep-28-2018, 11:08 PM
Last Post: qrani

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020