aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* galactic/snr.py: Update to use "Fnu_to_Tb_fast()"; some cleanupsAaron LI2016-12-131-18/+19
|
* Import modules (with Numba JIT) just before usageAaron LI2016-12-133-7/+9
| | | | Thus, the usage information can be printed out quickly :)
* products.py: Add parameter "load" to __init__()Aaron LI2016-12-092-7/+11
| | | | | | | | | | The "load" parameter explicitly controls whether to load the specified manifest file. Update "foregrounds.py" to use this new "load" parameter, which prevent the manifest file been loaded. Otherwise, if the output manifest file already exists, it will be loaded to Products, which may cause inconsistencies with the manifest of newly simulated products.
* README.rst: Fix a typoAaron LI2016-12-091-1/+1
|
* webui: configs.html: Fix a typo and change tagAaron LI2016-12-071-1/+1
|
* webui: Use the same "#modal-box" and the "showModal()" functionAaron LI2016-11-289-71/+36
|
* webui: websocket.js: Get rid of the global variablesAaron LI2016-11-281-63/+101
|
* webui: main.js: Add the global object "FG21SIM"Aaron LI2016-11-281-1/+2
|
* webui: Some JavaScript cleanups and refactorsAaron LI2016-11-285-244/+258
| | | | | Credit: "JavaScript: The Good Parts" by Douglas Crockford
* Bump to version 0.4.0v0.4.0Aaron LI2016-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Add "products.py" to build the products manifest and manage the simulation products * Finished the "Products" section (original named "Results") for the Web UI * Fix several client-side bugs, now the Web UI works well on Edge and IE v11 * Tune the Web UI styles and layouts * Significantly improved the README.rst * Add the "docs/" with a simple guide and example and test configuration files * Host the required input templates and catalogs on M$ OneDrive, and generate the "data-manifest.json" manifest * Implement the "bin/fg21sim-download-data" to automatically download the required data
* docs: Add the detailed example configuration fileAaron LI2016-11-261-0/+333
|
* Minor updatesAaron LI2016-11-262-3/+7
|
* Implement CLI tool: bin/fg21sim-download-dataAaron LI2016-11-261-1/+49
|
* utils: Add download.py with function "download_file()"Aaron LI2016-11-261-0/+112
|
* utils: Rename function "md5()" to "calc_md5()"Aaron LI2016-11-262-7/+7
|
* docs: Add data manifest: "data-manifest.json"Aaron LI2016-11-261-0/+38
| | | | | | | | | NOTE: The data files are hosted on the M$ OneDrive, and the direct download link is obtained with some tricks [1]. [1] How to Get Direct Download Link From OneDrive https://metadataconsulting.blogspot.com/2014/05/how-to-get-direct-download-link-from.html
* docs: Add the brief test configuration file "fg21sim-test.conf"Aaron LI2016-11-261-0/+43
|
* Add the simple user guide: docs/guide.rstAaron LI2016-11-262-11/+74
| | | | Also update the README.rst a bit
* README.rst: Add sections Features, Requirements, and InstallationAaron LI2016-11-251-6/+79
|
* README.rst: Add hyper links with nested inline markupsAaron LI2016-11-251-7/+22
| | | | | | Workaround for nested inline markups: http://docutils.sourceforge.net/FAQ.html#is-nested-inline-markup-possible https://stackoverflow.com/a/4836544/4856091
* README.rst: Update WARNING and Requirements; Add "Contributors"Aaron LI2016-11-251-11/+20
| | | | And other minor fixes/changes.
* webui: Replace jQuery.when() with jQuery.Deferred's .then()Aaron LI2016-11-241-5/+5
| | | | | | | | | | Note that jQuery.when() can NOT promise the ordering of the passed Deferred's. Therefore, chain multiple AJAX requests using ".then()" and ".done()" to keep them ordered. This fixes the configurations loading problem on IE (v11), which calls the "when()" arguments in different orders as Firefox and Chromium, thus leads to the wrong results.
* webui: Use new ".getJSONUncached()" instead of ".getJSON()"Aaron LI2016-11-243-7/+7
|
* webui: Extend jQuery with "getJSONUncached()"Aaron LI2016-11-241-6/+27
| | | | | | | | | | This jQuery extension sent the AJAX GET request but force the requested page NOT to be cached by the browser! NOTE: IE will by default cache the GET request even the contents has changed. Credit: https://stackoverflow.com/a/35130770/4856091
* webui: Update modal box stylesAaron LI2016-11-242-28/+43
|
* webui: configs.js: Trigger "Enter keypress" event after field updatedAaron LI2016-11-241-6/+9
| | | | | | | | When the value of a configuration field is updated by jQuery ".val()", trigger the "Enter keypress" event to update its related contents, e.g., the resolution note for "common/nside". Remove the wrong "Enter keypress" event triggering on page loading.
* webui: configs.html: Add placeholder for several fieldsAaron LI2016-11-241-4/+4
|
* webui: products.js: Support download healpix/hpx productsAaron LI2016-11-241-6/+25
|
* webui: Bind "ProductsDownloadHandler" to URI "/products/download/"Aaron LI2016-11-241-0/+2
|
* webui: products.py: Add new "ProductsDownloadHandler"Aaron LI2016-11-242-2/+75
| | | | | This new handler is based on the "StaticFileHandler", and will be used to serve the simulated products for downloading.
* products.py: Add method "get_root_dir()" and use itAaron LI2016-11-241-9/+32
|
* webui: main.js: Prevent form submitting on "Enter" pressAaron LI2016-11-241-0/+9
|
* webui: configs.html: Improve the form layout and stylesAaron LI2016-11-232-33/+49
|
* webui: main.css: Hide the spinner in "number" inputAaron LI2016-11-231-0/+13
| | | | | | Tested on both Firefox (v45.4) and Chromium (v53.0). Credit: https://stackoverflow.com/a/23374725/4856091
* webui: products: Add the client-side support for opening HPX imagesAaron LI2016-11-232-13/+70
|
* webui: ProductsAJAXHandler: implement the "open" GET actionAaron LI2016-11-231-3/+59
| | | | | The new method "_open_hpx()" is added to open the requested the HPX FITS image using the Python subprocess.
* products.py: Add new method "get_product_abspath()"Aaron LI2016-11-231-0/+34
| | | | | This new method will be used by the "ProductsAJAXHandler" for the "open" and "download" actions.
* webui: configs.js: Trigger "Enter" after page load on "common/nside"Aaron LI2016-11-231-14/+15
| | | | | Refactor the "click" event handler on "common/nside" to avoid the duplicated code on resolution calculation.
* webui: products: Implement GET action "which"Aaron LI2016-11-232-1/+37
| | | | | | | | The "which" GET action try to locate the given executable name/path, in order to check whether the executable callable. This function will be used to check the validity of the specified FITS viewer, which opens the HPX FITS images.
* webui: Add "from_localhost" to IndexHandler and products templateAaron LI2016-11-232-1/+15
|
* webui: utils: Remove three unused functionsAaron LI2016-11-231-97/+0
|
* webui: WSHandler: remove "check_origin()" and "hosts_allowed" optionAaron LI2016-11-232-59/+0
|
* webui: products: Implement HPX conversion functionAaron LI2016-11-223-18/+71
|
* Update the MIT license URLAaron LI2016-11-222-2/+2
|
* webui: products.js: Convert file size from bytes to MBAaron LI2016-11-221-4/+5
|
* webui: main.js: Add new styles for "products.html"Aaron LI2016-11-221-1/+19
| | | | Also update the ".btn" rule and add the ".btn.btn-small" rule
* products: Support frequency unit; Add "reset()" methodAaron LI2016-11-222-4/+26
|
* webui: products: Implement client-side AJAX interactionsAaron LI2016-11-222-0/+290
|
* webui: Add "ProductsAJAXHandler" to manipulate the products manifestAaron LI2016-11-223-0/+180
| | | | TODO: some actions currently not implemented yet
* webui: Finish the "products.html" pageAaron LI2016-11-221-4/+37
|