Difference: AaronAndrewsPhotometryNotes (1 vs. 2)

Revision 205 Oct 2016 - AaronAndrews

Line: 1 to 1
 
META TOPICPARENT name="AaronAndrewsPhotometry2016"
Project Notes
Line: 10 to 10
  To show an image produced by a function:
  1. 'a=[filename][functionname](variables)'
Changed:
<
<
  1. 'imshow(a)'
>
>
  1. 'imshow(a, cmap='Grey_r)' (use 'imshow(a)' for colourmap image instead of greyscale image)
 -- AaronAndrews - 04 Oct 2016 \ No newline at end of file

Revision 104 Oct 2016 - AaronAndrews

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="AaronAndrewsPhotometry2016"
Project Notes

Running Python Programs/Functions:

  1. Change working directory
  2. 'import [filename]' (without '.py')
  3. '[filename][functionname](variables)'
If file is already imported, replace 'import' with 'reload' to load any changes.

To show an image produced by a function:

  1. 'a=[filename][functionname](variables)'
  2. 'imshow(a)'

-- AaronAndrews - 04 Oct 2016

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback