frudawski

normldc

The normldc function normalizes a given luminous intensity distribution struct to cd/klm.

See also: readldt, writeldt

Usage:

ldc = normldc(ldc)

Where:

ParameterDescription
ldcIs the ldt struct containing EULUMDAT file information:
ldt.name  – gives the luminiare name information
ldt.header – contains the file header information
ldt.anglesC – contains the C angles
ldt.anglesG – contains the angles
ldt.I – contains the corresponding luminous intensities
Example

Read, adjust, normalize and plot a ldt file:

% Import Lambert ldt
ldc = readldt('lambert.ldt');
% Manipulate luminous intensity distribution
ldc.I = ldc.I.*cosd(ldc.anglesG);
ldc.name = 'luminaire';
% Normalize luminous intensity again
norm_ldc = normldc(ldc);

% Plot normalized ldc
plot2dldc(norm_ldc)

See also: readldt, plot2dldc

Result:

References

Ian Ashdown: Thinking Photometrically Part II. 2011, (LIGHTFAIR 2001 Pre-Conference Workshop).

Axel Werner Richard Stockmar: EULUMDAT – ein Leuchtendatenformat für den europäischen Beleuchtungplaner. In: 9. Gemeinschaftstagung der Lichttechnischen Gesellschaften Deutschlands, der Niederlande, Österreichs und Schweiz, pp. 641–644, Nederlandse Stichting voor Verlichtingskunde, 1990.

2 thoughts on “normldc”

  1. Hello Rudawski,
    thank you so much for your contribution of this Toolbox.
    i used this function (Normldc)in matlab, i copy your code in matlab
    % Import Lambert ldt
    ldc = readldt(‘lambert.ldt’);
    % Adjust luminous intensity distribution
    ldc.I = ldc.I.*cosd(ldt.anglesG);
    ldc.name = ‘luminaire’;
    % Normalize luminous intensity
    norm_ldc = nomldc(ldc);

    % Plot normalized ldc
    plot2dldc(norm_ldc)

    but it shows “nable to resolve the name ‘ldt.anglesG’.”

    Reply

Leave a comment

* I accept the use of cookies as well as the terms in the privacy policy. I accept that data provided by me is processed and saved. I know that comments are saved and published after review.